This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Comment out longest_raw_hex_string


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, "%");

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]