aboutsummaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-03-22 18:57:08 +0000
committerDaniel Jacobowitz <drow@false.org>2002-03-22 18:57:08 +0000
commit3121eff097e886c1c47a75abffe574d51adc3958 (patch)
tree21348f4114f9bdd3b0d6cc0f713a833b53b33cc1 /gdb/symmisc.c
parent349b409f683480775135af0a0c2450b8fe34d914 (diff)
downloadgdb-3121eff097e886c1c47a75abffe574d51adc3958.zip
gdb-3121eff097e886c1c47a75abffe574d51adc3958.tar.gz
gdb-3121eff097e886c1c47a75abffe574d51adc3958.tar.bz2
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.
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r--gdb/symmisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index 3c12988..2f1bb72 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -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 `");