This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debugging gdb with gdb


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]