Browse Source

Comment out longest_raw_hex_string.

gdb-premipsmulti-2000-06-06-branch
Andrew Cagney 27 years ago
parent
commit
7acb79c883
  1. 5
      gdb/ChangeLog
  2. 6
      gdb/language.c
  3. 4
      gdb/language.h

5
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

6
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. */

4
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

Loading…
Cancel
Save