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 e3f1554a2ba9063d53014460d524f15de05f8a61..63a6e85118d3916da9308704dce15d37ff290390 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 eadb77de4c433d2bc807ec82def29194d85f87dd..b241cc40ffbee24fb838946dfc8a90943f00d594 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]);