diff options
author | David Carlton <carlton@bactrian.org> | 2003-03-07 22:52:55 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-03-07 22:52:55 +0000 |
commit | c90d542d8e88574140a354eef4606bba201118d4 (patch) | |
tree | 029c6f826a965b5518ff97f7ed3a6280f60e5bfe /gdb/f-exp.y | |
parent | 0d4719c89d07c794b40714b03747f9685de97447 (diff) | |
download | gdb-c90d542d8e88574140a354eef4606bba201118d4.zip gdb-c90d542d8e88574140a354eef4606bba201118d4.tar.gz gdb-c90d542d8e88574140a354eef4606bba201118d4.tar.bz2 |
2003-03-07 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_partial_symbol): Replace uses of
SYMBOL_MATCHES_NATURAL_NAME by equivalent uses of
SYMBOL_NATURAL_NAME, strcmp_iw.
* symtab.h (SYMBOL_MATCHES_NATURAL_NAME): Delete.
* minsyms.c (lookup_minimal_symbol_linkage): Make static.
(lookup_minimal_symbol_natural): Ditto.
(lookup_minimal_symbol): Only search on linkage names; rename
first argument to 'linkage_name'.
(lookup_minimal_symbol_linkage): Delete.
(lookup_minimal_symbol_natural): Delete.
(add_minsym_to_demangled_hash_table): Go back to using
SYMBOL_DEMANGLED_NAME instead of SYMBOL_NATURAL_NAME.
(lookup_minimal_symbol_aux): Don't use
SYMBOL_MATCHES_NATURAL_NAME: do a strcmp_iw on
SYMBOL_DEMANGLED_NAME instead. Add comment.
(build_minimal_symbol_hash_tables): Go back to only adding to
demangled has table if SYMBOL_DEMANGLED_NAME is non-NULL.
* symtab.h: Delete declarations for lookup_minimal_symbol_linkage
and lookup_minimal_symbol_natural.
* valops.c (find_function_in_inferior): Use lookup_symbol_linkage
instead of lookup_symbol. Change comment.
* remote.c (remote_check_symbols): Use
lookup_minimal_symbol_linkage_or_natural instead of
lookup_minimal_symbol, but add FIXME comment as well.
* objc-lang.c: Ditto.
* c-exp.y: Use lookup_minimal_symbol_linkage_or_natural instead of
lookup_minimal_symbol.
* p-exp.y: Ditto.
* objc-exp.y: Ditto.
* m2-exp.y: Ditto.
* jv-exp.y (push_expression_name): Ditto.
* f-exp.y: Ditto.
* printcmd.c (address_info): Ditto.
* symtab.h: Declare lookup_minimal_symbol_linkage_or_natural.
* minsyms.c (lookup_minimal_symbol_linkage_or_natural): New.
* ax-gdb.c (gen_var_ref): Use SYMBOL_LINKAGE_NAME instead of
DEPRECATED_SYMBOL_NAME.
* tracepoint.c (scope_info): Ditto.
* symtab.c (find_pc_sect_line): Ditto.
* stabsread.c (define_symbol): Ditto.
* sol-thread.c (info_cb): Ditto.
* printcmd.c (address_info): Ditto.
* hppa-tdep.c (hppa_fix_call_dummy): Ditto.
(hppa_in_solib_call_trampoline): Ditto.
* findvar.c (read_var_value): Ditto.
Diffstat (limited to 'gdb/f-exp.y')
-rw-r--r-- | gdb/f-exp.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/f-exp.y b/gdb/f-exp.y index a9504c1..e25a5d2 100644 --- a/gdb/f-exp.y +++ b/gdb/f-exp.y @@ -479,7 +479,7 @@ variable: name_not_typename register char *arg = copy_name ($1.stoken); msymbol = - lookup_minimal_symbol (arg, NULL, NULL); + lookup_minimal_symbol_linkage_or_natural (arg); if (msymbol != NULL) { write_exp_msymbol (msymbol, |