forked from Imagelibrary/binutils-gdb
2002-03-22 Daniel Jacobowitz <drow@mvista.com>
* symtab.h (lookup_block_symbol): Add mangled_name argument
to prototype.
* symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
with new mangled_name argument.
* linespec.c (decode_line_1): Likewise.
* valops (value_of_this): Likewise.
* symtab.c (lookup_transparent_type): Likewise.
(lookup_symbol_aux): Likewise. Accept new mangled_name argument.
(lookup_symbol): If we are given a mangled name, pass it down
to lookup_symbol_aux.
(lookup_block_symbol): If we are given a mangled name to check
against, only return symbols which match it.
This commit is contained in:
@@ -959,7 +959,7 @@ maintenance_check_symtabs (char *ignore, int from_tty)
|
||||
while (length--)
|
||||
{
|
||||
sym = lookup_block_symbol (b, SYMBOL_NAME (*psym),
|
||||
SYMBOL_NAMESPACE (*psym));
|
||||
NULL, SYMBOL_NAMESPACE (*psym));
|
||||
if (!sym)
|
||||
{
|
||||
printf_filtered ("Static symbol `");
|
||||
@@ -976,7 +976,7 @@ maintenance_check_symtabs (char *ignore, int from_tty)
|
||||
while (length--)
|
||||
{
|
||||
sym = lookup_block_symbol (b, SYMBOL_NAME (*psym),
|
||||
SYMBOL_NAMESPACE (*psym));
|
||||
NULL, SYMBOL_NAMESPACE (*psym));
|
||||
if (!sym)
|
||||
{
|
||||
printf_filtered ("Global symbol `");
|
||||
|
||||
Reference in New Issue
Block a user