Hi,

I have used Sun's dbx in the past and I'm now starting to gdb.  I
was wondering if someone can point out equivalent commands in
gdb - fix and pop.

dbx allows me to pop off a stack frame and the control goes back to
the calling function _before_ the call was made.  So now if I
step through I'll be into the same function which I popped off.  I
find this useful with some functions when you realize that you've
missed the bug and want to go back and examine it more carefully.

Another command in dbx is fix - this will allow me to modify the
image at run time.  While I'm debuggin the program if I spot an
error I can modify the source an call "fix xyz.c" and it will recompile
the file and execute the new code (without restarting the program).

I tried looking at gdb commands but could not find any equivalent.  I
find it har to believe that such feature are not present it gdb.  I
must have missed something in the manual.  Can someone please point
them out?

thanks,
manish


_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to