forked from Imagelibrary/binutils-gdb
2003-06-29 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_register_unwind): Use unsigned char when dumping the buffer contents.
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user