This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
breakpoint at function return
- From: Smita <smita at cse dot ucsc dot edu>
- To: gdb at sources dot redhat dot com
- Date: Wed, 16 Apr 2003 09:47:06 -0700 (PDT)
- Subject: breakpoint at function return
Hi,
Is there a way to put a breakpoint at a function's return point
"statically"?
I know I can put a breakpoint at *(*(*$r1+4)). But $r1 can
be determined only "dynamically" when the function is called.
Thanks a lot!
Smita