From 7714c7c7bfe67e632b7f8162a5eab3eb7e4d0080 Mon Sep 17 00:00:00 2001 From: Fedja Beader Date: Sun, 28 Jan 2024 13:52:38 +0100 Subject: 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 const&, char const*); https://sourceware.org/bugzilla/show_bug.cgi?id=15962 Thanks to ssbssa@#gdb for pointing this out. --- tools/debug-debug.gdb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2