diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-03-22 18:57:08 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-03-22 18:57:08 +0000 |
commit | 3121eff097e886c1c47a75abffe574d51adc3958 (patch) | |
tree | 21348f4114f9bdd3b0d6cc0f713a833b53b33cc1 /gdb/valops.c | |
parent | 349b409f683480775135af0a0c2450b8fe34d914 (diff) | |
download | gdb-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/valops.c')
-rw-r--r-- | gdb/valops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index 4532da7..3db7341 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -3250,7 +3250,7 @@ value_of_this (int complain) /* Calling lookup_block_symbol is necessary to get the LOC_REGISTER symbol instead of the LOC_ARG one (if both exist). */ - sym = lookup_block_symbol (b, funny_this, VAR_NAMESPACE); + sym = lookup_block_symbol (b, funny_this, NULL, VAR_NAMESPACE); if (sym == NULL) { if (complain) |