PATCH: remote stub store single register command error return value
Andrew Cagney
ac131313@cygnus.com
Sat Apr 1 00:00:00 GMT 2000
"J.T. Conklin" wrote:
>
> Another pending patch:
> "As pointed out on the gdb list earlier today, some of the sample stubs
> return "P01" when the 'store single register' command (P) fails. This
> does not conform to the remote protocol spec, which states that values
> of the form "ENN" are to be used for reporting errors.
>
> GDB does not currently check return value of register store commands,
> If this is fixed, it should check for "OK" instead of "ENN".
>
> As before, ChangeLog is from original submission, the patch itself has
> been regenerated relative to the 20000204 snapshot.
>
> --jtc
>
Thanks. I've committed this change.
Andrew
More information about the Gdb-patches
mailing list