Cond breakpoint at end of regexp functions in gdb
Sree
sksreek@yahoo.com
Thu Dec 14 11:45:00 GMT 2006
Hi,
I want to achieve a 'logical' conditional breakpoint
at 'finish' of all functions matching a regular
expression. As this is not directly possible in gdb, I
tried doing the following but without success:
1) rbreak
2) manually set command-list for bkpoints (How do I
automate this?), having 'finish'
3) hook-stop which has
if (!condition)
cont
However hook_stop messes up with the break at the
beginning of the function. hookpost_stop does not seem
to be there or not working.
My condition is to check for the return value of the
functions - check for %eax
Thanks,
S
____________________________________________________________________________________
Have a burning question?
Go to www.Answers.yahoo.com and get answers from real people who know.
More information about the Gdb
mailing list