This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH] Comment out longest_raw_hex_string
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: Re: [PATCH] Comment out longest_raw_hex_string
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Sat, 04 Mar 2000 16:12:47 +1100
- Organization: Cygnus Solutions
- References: <38C0973D.DA06DA51@cygnus.com>
Andrew Cagney wrote:
This is part two of Roberts comments. Grepping throug the sources there
are still cases of long long but hopefully limited to target specific
code.
Andrew
Sat Mar 4 15:58:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
From Sun 20 Feb 2000 Robert Lipe <robertl at sco dot com>:
* language.c (longest_local_hex_string_custom): Don't compile
'long long' section if host doesn't have 'long long'.
Index: language.c
===================================================================
RCS file: /cvs/src/src/gdb/language.c,v
retrieving revision 1.2
diff -p -r1.2 language.c
*** language.c 2000/03/04 04:56:46 1.2
--- language.c 2000/03/04 05:08:18
*************** longest_local_hex_string_custom (num, wi
*** 630,638 ****
can use local_hex_string_custom
*/
return local_hex_string_custom ((unsigned long) num, width);
! #endif
!
! #if defined (PRINTF_HAS_LONG_LONG)
/* Just use printf. */
strcpy (format, local_hex_format_prefix ()); /* 0x */
strcat (format, "%");
--- 630,636 ----
can use local_hex_string_custom
*/
return local_hex_string_custom ((unsigned long) num, width);
! #elif defined (PRINTF_HAS_LONG_LONG)
/* Just use printf. */
strcpy (format, local_hex_format_prefix ()); /* 0x */
strcat (format, "%");