aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1998-09-22 02:34:38 +0000
committerStu Grossman <grossman@cygnus>1998-09-22 02:34:38 +0000
commit7b46dd00e45d77958ebe874c5dc9487761ce62cc (patch)
tree9a37a626ec6814b57b1e6d7cbca1d343a8cb0d15 /gdb/language.h
parent7f44038a5f130cc199a441a21f44155847cc42ac (diff)
downloadgdb-7b46dd00e45d77958ebe874c5dc9487761ce62cc.zip
gdb-7b46dd00e45d77958ebe874c5dc9487761ce62cc.tar.gz
gdb-7b46dd00e45d77958ebe874c5dc9487761ce62cc.tar.bz2
* defs.h utils.c (fputc_filtered): New function. Does the obvious...
* jv-lang.c (java_printchar): Fix output of chars > 0xff. Fold java_emit_char into java_printchar. * language.h (PRINT_LITERAL_FORM): Reformat for readability.
Diffstat (limited to 'gdb/language.h')
-rw-r--r--gdb/language.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/language.h b/gdb/language.h
index 877238d..347160d 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -318,8 +318,10 @@ set_language PARAMS ((enum language));
and the "other representation" is '\141'. The "other representation"
is program language dependent. */
-#define PRINT_LITERAL_FORM(c) \
- ((c)>=0x20 && ((c)<0x7F || (c)>=0xA0) && (!sevenbit_strings || (c)<0x80))
+#define PRINT_LITERAL_FORM(c) \
+ ((c) >= 0x20 \
+ && ((c) < 0x7F || (c) >= 0xA0) \
+ && (!sevenbit_strings || (c) < 0x80))
/* Return a format string for printf that will print a number in one of
the local (language-specific) formats. Result is static and is