This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Debugging gdb with gdb
- From: Joel Brobecker <brobecker at ACT-Europe dot FR>
- To: Salman Khilji <salmankhilji at hotmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Sun, 3 Feb 2002 16:18:45 +0100
- Subject: Re: Debugging gdb with gdb
- References: <F47tuKOaxeTBTcnv57p0000b1ec@hotmail.com>
> 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.
FWIW, I debug GDB a bit differently: I start the inferior GDB in a
terminal. I then run another GDB, and attach it to the inferior.
The idea behind this is that I want to avoid mixing the I/O in the
inferior with the commands I'm sending to GDB.
For the GUI lovers, GVD facilitates this, because it offers a
File->Attach menu, which will then present you with a list of process.
Click, click, click, and you're attached...
--
Joel