summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreeyorp <TheFreeYorp+git@gmail.com>2024-06-05 23:43:58 +0000
committerFreeyorp <TheFreeYorp+git@gmail.com>2024-06-05 23:57:13 +0000
commitf928d23f106f19ab9f2ccd5d57a5728f66ccb17f (patch)
tree5b894b3f681a846867d651338297078ce3c7f3e7
parentbe3001b079632f5575625043cd0b425f8af5b24b (diff)
downloadtmwa-f928d23f106f19ab9f2ccd5d57a5728f66ccb17f.tar.gz
tmwa-f928d23f106f19ab9f2ccd5d57a5728f66ccb17f.tar.bz2
tmwa-f928d23f106f19ab9f2ccd5d57a5728f66ccb17f.tar.xz
tmwa-f928d23f106f19ab9f2ccd5d57a5728f66ccb17f.zip
debug-debug: Update deprecated gdb syntax
-rw-r--r--tools/debug-debug.gdb6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/debug-debug.gdb b/tools/debug-debug.gdb
index b50a49b..5bf3a57 100644
--- a/tools/debug-debug.gdb
+++ b/tools/debug-debug.gdb
@@ -9,7 +9,7 @@ gdb.execute('file %s' % file_to_load)
end
set logging file /dev/null
set logging redirect on
-set logging off
+set logging enabled off
python
import re
@@ -41,7 +41,7 @@ set print elements 9999
set print frame-arguments none
set python print-stack full
-set logging on
+set logging enabled on
# Workaround "Function... not defined in.." (breakpoints not found) (GDB bug)
# https://sourceware.org/bugzilla/show_bug.cgi?id=15962
# In some gdb versions rbreak works, in some break does.
@@ -55,7 +55,7 @@ if bpoint.pending:
gdb.execute("rbreak do_breakpoint")
end
-set logging off
+set logging enabled off
commands
silent