From d2cf594a90af61f934c525b63476fbf3d3633d93 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 29 Jun 2003 13:27:26 +0000 Subject: [PATCH] 2003-06-29 Andrew Cagney * frame.c (frame_register_unwind): Use unsigned char when dumping the buffer contents. --- gdb/ChangeLog | 5 +++++ gdb/frame.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e3f1554a2ba..63a6e85118d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-06-29 Andrew Cagney + + * frame.c (frame_register_unwind): Use unsigned char when dumping + the buffer contents. + 2003-06-28 Daniel Jacobowitz * cli/cli-logging.c: New file. diff --git a/gdb/frame.c b/gdb/frame.c index eadb77de4c4..b241cc40ffb 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -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]); -- 2.30.2