aboutsummaryrefslogtreecommitdiff
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
commitd2cf594a90af61f934c525b63476fbf3d3633d93 (patch)
tree58846bfb49b1df5c5500e43fac9eb92fa53fa751 /gdb/frame.c
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.
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 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]);