How do you use GDB to debug GDB

Stephen Smith
2001-03-21T15:59:00Z

I have a gdb debugger configured to for a remote target (host i686-pc-cygwin target=powerpc-motorola-elf). normally I
run gdb as:

powerpc-motorola-elf-gdb --command=C:/rti/bin/rtidbug.ini C:/examples/dll/main.exe

Now I want to run the gdb against the above process. Since I am running this in a Windows NT command shell I can't use
gdb /usr/local/bin/powerpc-motorola-elf-gdb some_process_id

Can someone help

sps