aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 087b57d..3c2f5d8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
+
+ * remote.c (remote_parse_stop_reply): Use hex_string instead
+ of phex_nz for error.
+
2010-04-01 Stan Shebs <stan@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
diff --git a/gdb/remote.c b/gdb/remote.c
index 395a56d..0108fdb 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -4884,7 +4884,7 @@ Packet: '%s'\n"),
if (reg == NULL)
error (_("Remote sent bad register number %s: %s\n\
Packet: '%s'\n"),
- phex_nz (pnum, 0), p, buf);
+ hex_string (pnum), p, buf);
cached_reg.num = reg->regnum;