summaryrefslogtreecommitdiff
path: root/scripts/build/debug
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/debug')
-rw-r--r--scripts/build/debug/dmalloc.sh5
-rw-r--r--scripts/build/debug/gdb.sh5
2 files changed, 10 insertions, 0 deletions
diff --git a/scripts/build/debug/dmalloc.sh b/scripts/build/debug/dmalloc.sh
index 075035c..039f1ea 100644
--- a/scripts/build/debug/dmalloc.sh
+++ b/scripts/build/debug/dmalloc.sh
@@ -2,6 +2,11 @@
is_enabled="${CT_DMALLOC}"
+do_print_filename() {
+ [ "${CT_DMALLOC}" = "y" ] || return 0
+ echo "dmalloc-${CT_DMALLOC_VERSION}"
+}
+
do_debug_dmalloc_get() {
CT_GetFile "dmalloc-${CT_DMALLOC_VERSION}" http://dmalloc.com/releases/
}
diff --git a/scripts/build/debug/gdb.sh b/scripts/build/debug/gdb.sh
index e1f6de5..55c7c54 100644
--- a/scripts/build/debug/gdb.sh
+++ b/scripts/build/debug/gdb.sh
@@ -2,6 +2,11 @@
is_enabled="${CT_GDB}"
+do_print_filename() {
+ [ "${CT_GDB}" = "y" ] || return 0
+ echo "gdb`do_debug_gdb_suffix`"
+}
+
do_debug_gdb_suffix() {
case "${CT_GDB_VERSION}" in
snapshot) ;;