This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
How to debug gdb using gdb ?
- From: Smith John <baseboy126 at gmail dot com>
- To: gdb at sourceware dot org
- Date: Tue, 7 Aug 2012 22:18:01 +0800
- Subject: How to debug gdb using gdb ?
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!