conditional breakpoint with (char* ) string condition
Fabio De Bona
Auslieferator@gmx.net
Fri May 12 12:43:00 GMT 2006
Hi everyone,
I would like to set a conditional breakpoint with a condition that
depends on the value of
a char* string, i.e. something like
b gui/R.cpp:190 if cmd=="train" (doesn't work of course)
resp.
b gui/R.cpp:190 if strcmp(cmd,"train")
is there a possibility to do this *without* changing the code (like
setting a boolean or so in the source).
Regards
Fabio
More information about the Gdb
mailing list