diff options
author | John Gilmore <gnu@cygnus> | 1992-06-11 19:34:56 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-06-11 19:34:56 +0000 |
commit | 28de880c482d203c6f660c182e3aed1902815003 (patch) | |
tree | d416d4f3c48b9460b5841d3a7e04ed93cd077ca8 /gdb/defs.h | |
parent | d1dc824fa97b30c185fdbd5fb27ef2f85bb7c687 (diff) | |
download | gdb-28de880c482d203c6f660c182e3aed1902815003.zip gdb-28de880c482d203c6f660c182e3aed1902815003.tar.gz gdb-28de880c482d203c6f660c182e3aed1902815003.tar.bz2 |
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.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |