This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
remote/1695: Incorrect error message
- From: jon at beniston dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 26 Jun 2004 20:08:57 -0000
- Subject: remote/1695: Incorrect error message
- Reply-to: jon at beniston dot com
>Number: 1695
>Category: remote
>Synopsis: Incorrect error message
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 26 20:18:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: jon@beniston.com
>Release: 6.0
>Organization:
>Environment:
Cygwin
>Description:
Error message: "Reply contains invalid hex digit xx" actually displays a decimal value, rather than hex.
This occurs in remote.c:fromhex() and remote-sds.c:fromhex() because %d is used instead of %x.
>How-To-Repeat:
>Fix:
Change:
error ("Reply contains invalid hex digit %d", a);
to:
error ("Reply contains invalid hex digit %x", a);
>Release-Note:
>Audit-Trail:
>Unformatted: