From 7acb79c8836539cd0ce849e99cb0ae817f972422 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 4 Mar 2000 04:56:46 +0000 Subject: [PATCH] Comment out longest_raw_hex_string. --- gdb/ChangeLog | 5 +++++ gdb/language.c | 6 ++++++ gdb/language.h | 4 ++++ 3 files changed, 15 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0e130401691..6c580be0423 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Sat Mar 4 15:45:38 2000 Andrew Cagney + + * language.c (longest_raw_hex_string): Comment out. Appears + unused. + Sat Mar 4 13:02:09 2000 Andrew Cagney * utils.c (mcalloc), defs.h (mcalloc): Keep consistent with diff --git a/gdb/language.c b/gdb/language.c index ebdcefe5628..a32796db8a5 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -545,6 +545,11 @@ local_hex_format_custom (pre) return form; } +#if 0 +/* FIXME: cagney/2000-03-04: This function does not appear to be used. + It can be deleted once 5.0 has been released. */ +/* FIXME: cagney/2000-03-04: This code assumes that the compiler + supports ``long long''. */ /* Converts a number to hexadecimal (without leading "0x") and stores it in a static string. Returns a pointer to this string. */ @@ -562,6 +567,7 @@ longest_raw_hex_string (num) sprintf (res_longest_raw_hex_string, "%llx", ll); return res_longest_raw_hex_string; } +#endif /* Converts a number to hexadecimal and stores it in a static string. Returns a pointer to this string. */ diff --git a/gdb/language.h b/gdb/language.h index 2f27cb120e3..69ac2082ec1 100644 --- a/gdb/language.h +++ b/gdb/language.h @@ -362,11 +362,15 @@ extern char * extern char * local_hex_format_custom PARAMS ((char *)); /* language.c */ +#if 0 +/* FIXME: cagney/2000-03-04: This function does not appear to be used. + It can be deleted once 5.0 has been released. */ /* Return a string that contains the hex digits of the number. No preceeding "0x" */ extern char * longest_raw_hex_string PARAMS ((LONGEST)); +#endif /* Return a string that contains a number formatted in one of the local (language-specific) formats. Result is static and is overwritten by -- 2.30.2