How do you debug gdb?
Gerrit van Niekerk
gerritvn@gpvno.co.za
Mon Feb 18 09:04:00 GMT 2008
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.
More information about the Gdb
mailing list