summaryrefslogtreecommitdiff
path: root/gdb/frame.c
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
commit4223c8d086d7e493d8f9433705003ff92900c76f (patch)
treed73d4b481e646bbcff39dc7b50ddf3f72985e92c /gdb/frame.c
parentacb9bbc23939ee886f4fa47603cf1d5ab25bae4b (diff)
downloadgdb-4223c8d086d7e493d8f9433705003ff92900c76f.tar.gz
2003-06-29 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_register_unwind): Use unsigned char when dumping the buffer contents.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r--gdb/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frame.c b/gdb/frame.c
index eadb77de4c4..b241cc40ffb 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]);