mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
2003-02-25 David Carlton <carlton@math.stanford.edu>
* symtab.h (SYMBOL_NATURAL_NAME): New macro. (SYMBOL_LINKAGE_NAME): Ditto. (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and SYMBOL_LINKAGE_NAME. (struct general_symbol_info): Expand comment. (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. (SYMBOL_MATCHES_REGEXP): Ditto. * symtab.c (symbol_natural_name): New function. * objfiles.h: Replace all uses of SYMBOL_NAME by DEPRECATED_SYMBOL_NAME. * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. * ada-exp.y: Ditto. * ada-exp.y: Update copyright. * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. * cp-valprint.c: Ditto. 2003-02-25 David Carlton <carlton@math.stanford.edu> * generic/gdbtk.h: Replace all instances of SYMBOL_NAME by DEPRECATED_SYMBOL_NAME. * generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Ditto. * generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Update copyright. 2003-02-25 David Carlton <carlton@math.stanford.edu> * mi-cmd-stack.c: Replace all instances of SYMBOL_NAME with DEPRECATED_SYMBOL_NAME. Update copyright.
This commit is contained in:
@ -868,7 +868,7 @@ selectors_info (char *regexp, int from_tty)
|
||||
QUIT;
|
||||
name = SYMBOL_DEMANGLED_NAME (msymbol);
|
||||
if (name == NULL)
|
||||
name = SYMBOL_NAME (msymbol);
|
||||
name = DEPRECATED_SYMBOL_NAME (msymbol);
|
||||
if (name &&
|
||||
(name[0] == '-' || name[0] == '+') &&
|
||||
name[1] == '[') /* Got a method name. */
|
||||
@ -901,7 +901,7 @@ selectors_info (char *regexp, int from_tty)
|
||||
QUIT;
|
||||
name = SYMBOL_DEMANGLED_NAME (msymbol);
|
||||
if (name == NULL)
|
||||
name = SYMBOL_NAME (msymbol);
|
||||
name = DEPRECATED_SYMBOL_NAME (msymbol);
|
||||
if (name &&
|
||||
(name[0] == '-' || name[0] == '+') &&
|
||||
name[1] == '[') /* Got a method name. */
|
||||
@ -927,7 +927,7 @@ selectors_info (char *regexp, int from_tty)
|
||||
QUIT;
|
||||
name = SYMBOL_DEMANGLED_NAME (sym_arr[ix]);
|
||||
if (name == NULL)
|
||||
name = SYMBOL_NAME (sym_arr[ix]);
|
||||
name = DEPRECATED_SYMBOL_NAME (sym_arr[ix]);
|
||||
name = strchr (name, ' ') + 1;
|
||||
if (p[0] && specialcmp(name, p) == 0)
|
||||
continue; /* Seen this one already (not unique). */
|
||||
@ -1011,7 +1011,7 @@ classes_info (char *regexp, int from_tty)
|
||||
QUIT;
|
||||
name = SYMBOL_DEMANGLED_NAME (msymbol);
|
||||
if (name == NULL)
|
||||
name = SYMBOL_NAME (msymbol);
|
||||
name = DEPRECATED_SYMBOL_NAME (msymbol);
|
||||
if (name &&
|
||||
(name[0] == '-' || name[0] == '+') &&
|
||||
name[1] == '[') /* Got a method name. */
|
||||
@ -1037,7 +1037,7 @@ classes_info (char *regexp, int from_tty)
|
||||
QUIT;
|
||||
name = SYMBOL_DEMANGLED_NAME (msymbol);
|
||||
if (name == NULL)
|
||||
name = SYMBOL_NAME (msymbol);
|
||||
name = DEPRECATED_SYMBOL_NAME (msymbol);
|
||||
if (name &&
|
||||
(name[0] == '-' || name[0] == '+') &&
|
||||
name[1] == '[') /* Got a method name. */
|
||||
@ -1056,7 +1056,7 @@ classes_info (char *regexp, int from_tty)
|
||||
QUIT;
|
||||
name = SYMBOL_DEMANGLED_NAME (sym_arr[ix]);
|
||||
if (name == NULL)
|
||||
name = SYMBOL_NAME (sym_arr[ix]);
|
||||
name = DEPRECATED_SYMBOL_NAME (sym_arr[ix]);
|
||||
name += 2;
|
||||
if (p[0] && specialcmp(name, p) == 0)
|
||||
continue; /* Seen this one already (not unique). */
|
||||
@ -1319,7 +1319,7 @@ find_methods (struct symtab *symtab, char type,
|
||||
|
||||
symname = SYMBOL_DEMANGLED_NAME (msymbol);
|
||||
if (symname == NULL)
|
||||
symname = SYMBOL_NAME (msymbol);
|
||||
symname = DEPRECATED_SYMBOL_NAME (msymbol);
|
||||
if (symname == NULL)
|
||||
continue;
|
||||
|
||||
@ -1358,7 +1358,7 @@ find_methods (struct symtab *symtab, char type,
|
||||
const char *newsymname = SYMBOL_DEMANGLED_NAME (sym);
|
||||
|
||||
if (newsymname == NULL)
|
||||
newsymname = SYMBOL_NAME (sym);
|
||||
newsymname = DEPRECATED_SYMBOL_NAME (sym);
|
||||
if (strcmp (symname, newsymname) == 0)
|
||||
{
|
||||
/* Found a high-level method sym: swap it into the
|
||||
|
Reference in New Issue
Block a user