diff options
author | David Carlton <carlton@bactrian.org> | 2003-05-02 20:36:08 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-05-02 20:36:08 +0000 |
commit | fcc3ea19593cfcbcdd5f4a241fb206f0fe7edd48 (patch) | |
tree | d0604e1f6186a8ceea14094cf2070ecdc5d3de4c | |
parent | 28370500ca2fbbcbc5d341361f58a8cf336ee54e (diff) | |
download | gdb-fcc3ea19593cfcbcdd5f4a241fb206f0fe7edd48.zip gdb-fcc3ea19593cfcbcdd5f4a241fb206f0fe7edd48.tar.gz gdb-fcc3ea19593cfcbcdd5f4a241fb206f0fe7edd48.tar.bz2 |
2003-05-02 David Carlton <carlton@bactrian.org>
* minsyms.c: Delete declarations for lookup_minimal_symbol_linkage
and lookup_minimal_symbol_natural.
* linespec.c (decode_variable): Call
lookup_minimal_symbol_linkage_or_natural instead of
lookup_minimal_symbol.
(decode_dollar): Ditto.
-rw-r--r-- | gdb/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/linespec.c | 4 | ||||
-rw-r--r-- | gdb/minsyms.c | 10 |
3 files changed, 11 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f712b7e..20cbf08 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,14 @@ 2003-05-02 David Carlton <carlton@bactrian.org> + * minsyms.c: Delete declarations for lookup_minimal_symbol_linkage + and lookup_minimal_symbol_natural. + * linespec.c (decode_variable): Call + lookup_minimal_symbol_linkage_or_natural instead of + lookup_minimal_symbol. + (decode_dollar): Ditto. + +2003-05-02 David Carlton <carlton@bactrian.org> + * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti files. 2003-04-30 David Carlton <carlton@bactrian.org> diff --git a/gdb/linespec.c b/gdb/linespec.c index 2a4d0c0..1f0d65f 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -1665,7 +1665,7 @@ decode_dollar (char **argptr, int funfirstline, struct symtab *default_symtab, sym, NULL, sym_symtab); /* If symbol was not found, look in minimal symbol tables. */ - msymbol = lookup_minimal_symbol (copy, NULL, NULL); + msymbol = lookup_minimal_symbol_linkage_or_natural (copy); if (msymbol != NULL) return minsym_found (funfirstline, msymbol); @@ -1762,7 +1762,7 @@ decode_variable (char **argptr, int funfirstline, char ***canonical, sym, file_symtab, sym_symtab); } - msymbol = lookup_minimal_symbol (copy, NULL, NULL); + msymbol = lookup_minimal_symbol_linkage_or_natural (copy); if (msymbol != NULL) return minsym_found (funfirstline, msymbol); diff --git a/gdb/minsyms.c b/gdb/minsyms.c index 7739381..f4f75e7 100644 --- a/gdb/minsyms.c +++ b/gdb/minsyms.c @@ -76,16 +76,6 @@ static int msym_bunch_index; static int msym_count; -static struct minimal_symbol *lookup_minimal_symbol_linkage (const char *name, - const char *sfile, - struct objfile - *objf); - -static struct minimal_symbol *lookup_minimal_symbol_natural (const char *name, - const char *sfile, - struct objfile - *objf); - static struct minimal_symbol *lookup_minimal_symbol_aux (const char *name, int linkage, const char *sfile, |