summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2024-01-28 13:52:38 +0100
committerFedja Beader <fedja@protonmail.ch>2024-01-28 17:25:09 +0100
commit7714c7c7bfe67e632b7f8162a5eab3eb7e4d0080 (patch)
treea1fd7baa4e75ecbc610647a9bbcb7004d121134b /tools
parente4c9cc086972493c0600216e9cbc990a5a5252e0 (diff)
downloadtmwa-7714c7c7bfe67e632b7f8162a5eab3eb7e4d0080.tar.gz
tmwa-7714c7c7bfe67e632b7f8162a5eab3eb7e4d0080.tar.bz2
tmwa-7714c7c7bfe67e632b7f8162a5eab3eb7e4d0080.tar.xz
tmwa-7714c7c7bfe67e632b7f8162a5eab3eb7e4d0080.zip
Workaround "Function... not defined in.." (breakpoints not found) (GDB bug)
Evidently regexes are not needed. Function "_Z13do_breakpointIN4tmwa3map11script_dataEEvRKT_PKc" not defined in "/builds/specing/tmwa/src/debug-debug/map-script-persist.cpp". Breakpoint 1 (/builds/specing/tmwa/src/debug-debug/map-script-persist.cpp:'_Z13do_breakpointIN4tmwa3map11script_dataEEvRKT_PKc') pending. void do_breakpoint<tmwa::map::script_data>(tmwa::map::script_data const&, char const*); https://sourceware.org/bugzilla/show_bug.cgi?id=15962 Thanks to ssbssa@#gdb for pointing this out.
Diffstat (limited to 'tools')
-rw-r--r--tools/debug-debug.gdb4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/debug-debug.gdb b/tools/debug-debug.gdb
index df98d95..c2132b3 100644
--- a/tools/debug-debug.gdb
+++ b/tools/debug-debug.gdb
@@ -43,7 +43,9 @@ set print frame-arguments none
set python print-stack full
set logging enabled on
-rbreak do_breakpoint
+#set breakpoint pending on
+#rbreak do_breakpoint
+break do_breakpoint
#set logging enabled off
info breakpoints