List Info

Thread: Cond breakpoint at end of regexp functions in gdb




Cond breakpoint at end of regexp functions in gdb
user name
2006-12-14 11:45:42
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.
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )