Re: Debugging gdb with gdb

Joel Brobecker
2002-02-03T15:18:47Z

> 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