This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]