Я определяю точку останова
b foo:124 if strcmp(bar::foo::getName(), "abc")==0
Но gdb завершается с ошибкой со следующими ошибками
[Thread 0x7fffe8ef9700 (LWP 25817) exited]
[Switching to Thread 0x7fffdfc2f700 (LWP 25972)]
Error in testing breakpoint condition:
Couldn't get registers: No such process.
An error occurred while in a function called from GDB.
Evaluation of the expression containing the function
(bar::foo::getName() const) will be abandoned.
When the function is done executing, GDB will silently stop.
Selected thread is running.
Подробнее здесь: https://stackoverflow.com/questions/437 ... reakpoints