From 7b46dd00e45d77958ebe874c5dc9487761ce62cc Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Tue, 22 Sep 1998 02:34:38 +0000 Subject: * 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. --- gdb/language.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gdb/language.h') 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 -- cgit v1.1