multi-process remote protocol extensions

Pedro Alves pedro@codesourcery.com
Tue Jun 3 17:04:00 GMT 2008


A Tuesday 03 June 2008 17:13:40, Daniel Jacobowitz wrote:
> On Tue, Jun 03, 2008 at 04:54:46PM +0100, Pedro Alves wrote:
> > > > Not stricly multi-process related, but while we're at it, two
> > > > nibbles `AA' only is unnecessarilly limiting.  That was
> > > > the other reason for proposing new status packets.
> > >
> > > Allow more than just two nibbles if gdb supports the semicolon?
> >
> > How can the stub know if GDB supports the semicolon?
>
> By the multiprocess announcement, I suppose.  We already needed to
> know this since ;process would break otherwise.

Hmmm, no, this is a separate issue to multiprocess, it affects
single-process stubs as well, e.g., native Windows gdbserver is
replying 'W' AA, but the exit code of a Windows process isn't
limited to 8-bits.  It should be reported as a separate
feature, I guess.

-- 
Pedro Alves



More information about the Gdb mailing list