diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-03-04 04:56:46 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-03-04 04:56:46 +0000 |
commit | 7acb79c8836539cd0ce849e99cb0ae817f972422 (patch) | |
tree | 961b8f5c68b2eb9b6eafe809d3f6c185d2a07e62 /gdb | |
parent | 76c520e05ca8cbacbd781c0d500e939e37cf100a (diff) | |
download | gdb-7acb79c8836539cd0ce849e99cb0ae817f972422.zip gdb-7acb79c8836539cd0ce849e99cb0ae817f972422.tar.gz gdb-7acb79c8836539cd0ce849e99cb0ae817f972422.tar.bz2 |
Comment out longest_raw_hex_string.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/language.c | 6 | ||||
-rw-r--r-- | gdb/language.h | 4 |
3 files changed, 15 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0e13040..6c580be 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Sat Mar 4 15:45:38 2000 Andrew Cagney <cagney@b1.cygnus.com> + + * language.c (longest_raw_hex_string): Comment out. Appears + unused. + Sat Mar 4 13:02:09 2000 Andrew Cagney <cagney@b1.cygnus.com> * utils.c (mcalloc), defs.h (mcalloc): Keep consistent with diff --git a/gdb/language.c b/gdb/language.c index ebdcefe..a32796d 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 2f27cb1..69ac208 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 |