diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-01-12 05:19:10 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-01-12 05:19:10 +0000 |
commit | 3abd2e019d61de733dc82d1a2cab72d843d04b73 (patch) | |
tree | 0164facccd793e70103b0eb38c8acb31ae0194dd /gdb/language.c | |
parent | 6fe757f684bcd6c0253788c7a01e4e48da9fd033 (diff) | |
download | gdb-3abd2e019d61de733dc82d1a2cab72d843d04b73.zip gdb-3abd2e019d61de733dc82d1a2cab72d843d04b73.tar.gz gdb-3abd2e019d61de733dc82d1a2cab72d843d04b73.tar.bz2 |
* language.c (longest_raw_hex_string): Delete unused function.
Diffstat (limited to 'gdb/language.c')
-rw-r--r-- | gdb/language.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gdb/language.c b/gdb/language.c index a183aa5..9c27f0d 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -596,29 +596,6 @@ local_hex_format_custom (char *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. */ - -char * -longest_raw_hex_string (LONGEST num) -{ - static char res_longest_raw_hex_string[50]; - long long ll = num; /* MERGEBUG ?? see below */ - res_longest_raw_hex_string[0] = 0; - /* MERGEBUG ?? As a quick fix I am replacing this with sprintf - strcat_address_numeric (num, 0, res_longest_raw_hex_string, 50); - */ - - 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. */ char * |