From 28de880c482d203c6f660c182e3aed1902815003 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Thu, 11 Jun 1992 19:34:56 +0000 Subject: Two `long long' fixes from Robert R. Henry (rrh@dino.tera.com): * defs.h (longest_to_int): Avoid void arm of ?: in error case. * expprint.c (print_subexp): Fix printing of register names. --- gdb/defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/defs.h') diff --git a/gdb/defs.h b/gdb/defs.h index d02d186..35151c7 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -492,7 +492,7 @@ local_hex_string_custom PARAMS ((int, char *)); /* language.c */ #if !defined (longest_to_int) #if defined (LONG_LONG) #define longest_to_int(x) (((x) > INT_MAX || (x) < INT_MIN) \ - ? error ("Value out of range.") : (int) (x)) + ? (error ("Value out of range."),0) : (int) (x)) #else /* No LONG_LONG. */ /* Assume sizeof (int) == sizeof (long). */ #define longest_to_int(x) ((int) (x)) -- cgit v1.1