How to debug gdb using gdb ?

Tom Emerson tremerson@gmail.com
Tue Aug 7 14:21:00 GMT 2012


http://sourceware.org/gdb/current/onlinedocs/gdbint/Debugging-GDB.html#Debugging-GDB

On Tue, Aug 7, 2012 at 10:18 AM, Smith John <baseboy126@gmail.com> wrote:
> hi,guys:
>
>    I am  researching  gdb source code ,  and  I want  to  debug  it
> using  its  executable file .
>    but  how can I send  command  to  the  debugged  gdb procedure
> which is children  process  ,
>
>   as the gdb which is parent process will  deal with every command
> inputed from  the command line ,so I get no way to communicate  with
>
>   that debugged gdb procedure.
>
>
>
> any advice?
>
>
> thanks!



-- 
Tom Emerson
tremerson@gmail.com
http://www.dreamersrealm.net/tree



More information about the Gdb mailing list