Debugging gdb with gdb
Salman Khilji
salmankhilji@hotmail.com
Fri Feb 1 08:25:00 GMT 2002
I am running gdb under gdb.
Lets assume gdb starts mygdb. I issue the run command in (gdb) without
setting any breakpoints anywhere. mygdb comes up and the prompt now says
(mygdb) instead of (gdb). I want to put a break point somewhere inside the
mygdb code---not the program that mygdb is going to debug. However if I
issue the break command, the break point is going to be set in the program
that (mygdb) is going to debug---not in mygdb itself.
So the question is: How do I temporarily stop the target application in
gdb---set a break point in the target---then continue? This is useful in
GUI applications as well.
Salman
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
More information about the Gdb
mailing list