This is the mail archive of the gdb@sourceware.org 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: How do you debug gdb?


On 17 Feb 2008 at 20:00, Ray Hurst wrote:

> It seemed that this question was better suited for the development group 
> than in the general group.
> 
> How do you debug gdb?
> 
> In other words, if I have a problem with gdb itself how do I go about 
> debugging the issue?
> 
You first have to build GDB with symbols, so you run "config" and then 
"make".

If you debug gdb right in the directory it was created, you automatically get a 
script loaded which will differentiate between a breakpoint being hit in gdb 
and in the debug target.




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