This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdbserver, was Re: remote validation
On Thu, Sep 21, 2006 at 01:51:11PM -0700, Michael Snyder wrote:
> On Thu, 2006-09-21 at 10:33 -0400, Daniel Jacobowitz wrote:
>
> > # There's no support for argument-passing (yet).
> > set_board_info noargs 1
> >
> > # Can't do input (or output) in the current gdbserver.
> > set_board_info gdb,noinferiorio 1
> >
> > # Can't do hardware watchpoints, in general
> > set_board_info gdb,no_hardware_watchpoints 1;
>
> Not to highjack the thread, but... I'm wondering how much
> interest / motivation there would be, to get a few of these
> things (such as infiorior i/o) working in linux/gdbserver?
Args can be made to work with the current gdbserver; the harness starts
a new process each time and we can pass things on the gdbserver command
line. Also, I have patches for another project which implement set
args directly over the remote protocol. I just haven't gotten round to
submitting that one yet.
The infrastructure for hardware watchpoints is in place. It just needs
more per-platform support, and some way to behave sensibly if the
target doesn't have any (the remote protocol behavior here is kind of
weak).
Inferior I/O is a heavy question. I don't know. I don't particularly
want to have gdbserver create slave ptys for this.
--
Daniel Jacobowitz
CodeSourcery