diff options
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 554cb6a..14ff2fc 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -815,7 +815,9 @@ printchar (c, stream, quoter) int quoter; { - if (c < 040 || (sevenbit_strings && c >= 0177)) { + if ( c < 0x20 || /* Low control chars */ + (c >= 0x7F && c < 0xA0) || /* DEL, High controls */ + (sevenbit_strings && c >= 0x80)) { /* high order bit set */ switch (c) { case '\n': |