]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2003-06-29 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sun, 29 Jun 2003 13:27:56 +0000 (13:27 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 29 Jun 2003 13:27:56 +0000 (13:27 +0000)
* frame.c (frame_register_unwind): Use unsigned char when dumping
the buffer contents.

gdb/ChangeLog
gdb/frame.c

index ca68920454cfd71686eb969c70c9856e0a0512e4..88b73e397c9be98d2104b194a6504a0260277fef 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-27  Jim Blandy  <jimb@redhat.com>
 
        * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New
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]);