aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
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/symtab.h
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/symtab.h')
-rw-r--r--gdb/symtab.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 75470e6..69fcf15 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1098,6 +1098,7 @@ extern struct symbol *lookup_symbol (const char *, const struct block *,
/* lookup a symbol by name, within a specified block */
extern struct symbol *lookup_block_symbol (const struct block *, const char *,
+ const char *,
const namespace_enum);
/* lookup a [struct, union, enum] by name, within a specified block */