This is the mail archive of the
mailing list for the Archer project.
Re: gdbstub initial code, v3
> Indeed, gdb sees that this fd is not pipe/tcp and uses the "hardwire"
> serial_ops, but hardwire_readchar() doesn't play well with select().
> Please teach gdb to use poll/select ?
If it makes it easier, could use:
bash$ nc -l -U /tmp/socket <> /proc/ugdb &
(gdb) target remote |nc -U /tmp/socket
for the moment. Silly of course, but just not to be blocked on cleaning up
gdb's serial-device handling to be more nicely nonblocking.