[PATCH] Comment out longest_raw_hex_string

Andrew Cagney ac131313@cygnus.com
Sat Apr 1 00:00:00 GMT 2000


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


More information about the Gdb-patches mailing list