From: Andrew Cagney Date: Sat, 4 Mar 2000 05:11:19 +0000 (+0000) Subject: Don't use LONG_LONG when it isn't available. X-Git-Tag: gdb_5_0-2000-04-10-branchpoint~351 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=392746e5637d18b37ece0ffa5b38ab21d1ce6772;p=external%2Fbinutils.git Don't use LONG_LONG when it isn't available. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6c580be..8a1a980 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Sat Mar 4 15:58:40 2000 Andrew Cagney + + From Sun 20 Feb 2000 Robert Lipe : + * language.c (longest_local_hex_string_custom): Don't compile + 'long long' section if host doesn't have 'long long'. + Sat Mar 4 15:45:38 2000 Andrew Cagney * language.c (longest_raw_hex_string): Comment out. Appears diff --git a/gdb/language.c b/gdb/language.c index a32796d..7370276 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -630,9 +630,7 @@ longest_local_hex_string_custom (num, width) can use local_hex_string_custom */ return local_hex_string_custom ((unsigned long) num, width); -#endif - -#if defined (PRINTF_HAS_LONG_LONG) +#elif defined (PRINTF_HAS_LONG_LONG) /* Just use printf. */ strcpy (format, local_hex_format_prefix ()); /* 0x */ strcat (format, "%");