diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-06-29 13:27:26 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-06-29 13:27:26 +0000 |
commit | d2cf594a90af61f934c525b63476fbf3d3633d93 (patch) | |
tree | 58846bfb49b1df5c5500e43fac9eb92fa53fa751 /gdb/frame.c | |
parent | c58b95236ce4c9345c4fa76e7ef16762e5229380 (diff) | |
download | gdb-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.c | 2 |
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]); |