aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-05-01 09:53:13 +0000
committerJohn Gilmore <gnu@cygnus>1992-05-01 09:53:13 +0000
commit7e7e2d40c1404de249d9f071d859d8c376e92bda (patch)
tree2e9538003edb5daa498e4e408951c7a4211b1fb7 /gdb
parentfcdb113e5707f165e91cd75cb3dffa78c4f043ca (diff)
downloadgdb-7e7e2d40c1404de249d9f071d859d8c376e92bda.zip
gdb-7e7e2d40c1404de249d9f071d859d8c376e92bda.tar.gz
gdb-7e7e2d40c1404de249d9f071d859d8c376e92bda.tar.bz2
One more try...
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog10
-rw-r--r--gdb/utils.c2
2 files changed, 2 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fdcd4e5..1de3584 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -44,16 +44,6 @@ Wed Apr 29 15:26:51 1992 Per Bothner (bothner@rtl.cygnus.com)
variables. Instead, place all shared variables in a
stack-allocated structure, and pass around its address.
-Wed Apr 29 23:39:38 1992 John Gilmore (gnu at cygnus.com)
-
- * m68k-pinsn.c (print_insn_arg): When we really want sign
- extension, use "signed char". (Doesn't work on non-ANSI
- compilers with char unsigned by default. FIXME.)
-
-Mon Apr 27 20:06:14 1992 John Gilmore (gnu at cygnus.com)
-
- * munch: Add sort -u to avoid duplications.
-
Fri Apr 24 07:41:19 1992 Stu Grossman (grossman at cygnus.com)
* Makefile.in (make-proto-gdb-1): 1st cut at packaging
diff --git a/gdb/utils.c b/gdb/utils.c
index 14ff2fc..bb01776 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -815,6 +815,8 @@ printchar (c, stream, quoter)
int quoter;
{
+ c &= 0xFF; /* Avoid sign bit follies */
+
if ( c < 0x20 || /* Low control chars */
(c >= 0x7F && c < 0xA0) || /* DEL, High controls */
(sevenbit_strings && c >= 0x80)) { /* high order bit set */