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 the gdb with itself


Nit :
Make sure you have gdb built with -g on :-)

cheers
Ramana

Pls follow the following steps

1. Invoke DDD

"$ ddd <gdb executable>"

2. Pls set the option from the menu in DDD.

"Program => Run in Execution window"

3. Set the breakpoints in the source if need

4. Now run

5. After running the execution window will appear. This execution window
is the input console for the GDB which is debugging.
The GDB console in DDD will not be overlap by the gdb (which is
debugging).

Pls try this. It should work.

Monika




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