aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-29 13:27:26 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-29 13:27:26 +0000
commitd2cf594a90af61f934c525b63476fbf3d3633d93 (patch)
tree58846bfb49b1df5c5500e43fac9eb92fa53fa751
parentc58b95236ce4c9345c4fa76e7ef16762e5229380 (diff)
downloadgdb-d2cf594a90af61f934c525b63476fbf3d3633d93.zip
gdb-d2cf594a90af61f934c525b63476fbf3d3633d93.tar.gz
gdb-d2cf594a90af61f934c525b63476fbf3d3633d93.tar.bz2
2003-06-29 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_register_unwind): Use unsigned char when dumping the buffer contents.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/frame.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e3f1554..63a6e85 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-29 Andrew Cagney <cagney@redhat.com>
+
+ * frame.c (frame_register_unwind): Use unsigned char when dumping
+ the buffer contents.
+
2003-06-28 Daniel Jacobowitz <drow@mvista.com>
* cli/cli-logging.c: New file.
diff --git a/gdb/frame.c b/gdb/frame.c
index eadb77d..b241cc4 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -546,7 +546,7 @@ frame_register_unwind (struct frame_info *frame, int regnum,
else
{
int i;
- const char *buf = bufferp;
+ const unsigned char *buf = bufferp;
fprintf_unfiltered (gdb_stdlog, "[");
for (i = 0; i < register_size (current_gdbarch, regnum); i++)
fprintf_unfiltered (gdb_stdlog, "%02x", buf[i]);