2003-06-29 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sun, 29 Jun 2003 13:27:26 +0000 (13:27 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 29 Jun 2003 13:27:26 +0000 (13:27 +0000)
* frame.c (frame_register_unwind): Use unsigned char when dumping
the buffer contents.

gdb/ChangeLog
gdb/frame.c

index e3f1554..63a6e85 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-29  Andrew Cagney  <cagney@redhat.com>
+
+       * frame.c (frame_register_unwind): Use unsigned char when dumping
+       the buffer contents.
+
 2003-06-28  Daniel Jacobowitz  <drow@mvista.com>
 
        * cli/cli-logging.c: New file.
index eadb77d..b241cc4 100644 (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]);