Debugging gdb with gdb

Joel Brobecker brobecker@ACT-Europe.FR
Sun Feb 3 12:29:00 GMT 2002


> 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



More information about the Gdb mailing list