RFA: Recognize 'x' in response to 'p' packet
Thu Dec 23 17:22:00 GMT 2004
On Thu, Dec 23, 2004 at 11:25:51AM -0500, Jim Blandy wrote:
> Jim Blandy <firstname.lastname@example.org> writes:
> > Daniel Jacobowitz <email@example.com> writes:
> > > My real question, though, is what you needed this for - and whether
> > > marking the register unavailable fixes it.
> > The Red Hat Debug Agent generates replies to 'p' packets that contain
> > 'x's. GDB generally seems to work, but 'info thread' fares poorly.
> > Simply parsing the response at all should fix the problem; I'll make
> > sure that marking the register as unavailable doesn't cause any new
> > problems.
> > Thanks for the review!
> Okay, here's the revised patch, against the properly re-indented
> sources. Tested against RDA.
> 2004-12-17 Jim Blandy <firstname.lastname@example.org>
> * remote.c (fetch_register_using_p): Recognize a register value
> starting with 'x' as indicating an unfetchable register.
OK, thanks! I will be getting around to adding 'p' to gdbserver soon,
so I'll need this too.
More information about the Gdb-patches