summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-04-01 23:13:24 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-04-01 23:13:24 +0000
commit7c47795c2b4b17d9322fcc45a12649a6b57b4f0e (patch)
tree9b46d3826047c030e2d22ed5264b10cfc6a7111b
parentb6c5ae6807f7ea25e05589a53c6ce213d2ec976f (diff)
downloadppe42-binutils-7c47795c2b4b17d9322fcc45a12649a6b57b4f0e.tar.gz
ppe42-binutils-7c47795c2b4b17d9322fcc45a12649a6b57b4f0e.zip
Use hex_string instead of phex_nz for error.
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.
-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 087b57d025..3c2f5d86ae 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 395a56db77..0108fdb402 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;
OpenPOWER on IntegriCloud