This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: gdbstub initial code, v4
On 08/19, Roland McGrath wrote:
>
> > Note the second attachment, GDBCAT. It is just the simple perl
> > script which connects /proc/ugdb to tcp port. It can be used for
> > remote debugging via tcp, or with (unpatched) gdb which can't do
> > select() on /proc/ugdb.
>
> bash$ nc -l 2000 <> /proc/ugdb &
Yes, this works,
> > Actually, it is more convenient to use
> > it in any case, at least for logging purposes.
>
> (gdb) set remote debug 1
set debug remote 1. Yes, I tried this. Very, very inconvenient.
In this case the debugging output is mixed with the normal output,
Also: you can't save to file, can't filter packets, can't add
the packet for debugging (not implemented yet).
But yes, it is not strictly necessary, nc should work too.
Oleg.