summaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2002-03-22 18:57:08 +0000
committerDaniel Jacobowitz <dan@debian.org>2002-03-22 18:57:08 +0000
commit83e117223034ca116e8f02a23145eb4bedbdd225 (patch)
treebca3fb4c0639f739d3342d44b0defe18dd46a83e /gdb/symmisc.c
parentcd2a3d63251f7eda0ca9d86e42d98c9c5d121162 (diff)
downloadgdb-83e117223034ca116e8f02a23145eb4bedbdd225.tar.gz
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 3c129886e5b..2f1bb72ae36 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 `");