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:
Andrew Cagney
2003-06-29 13:27:26 +00:00
parent c58b95236c
commit d2cf594a90
2 changed files with 6 additions and 1 deletions

View File

@@ -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]);