]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2003-05-02 David Carlton <carlton@bactrian.org>
authorDavid Carlton <carlton@bactrian.org>
Fri, 2 May 2003 20:36:08 +0000 (20:36 +0000)
committerDavid Carlton <carlton@bactrian.org>
Fri, 2 May 2003 20:36:08 +0000 (20:36 +0000)
* 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.

gdb/ChangeLog
gdb/linespec.c
gdb/minsyms.c

index f712b7ea94f5f27a1eed7e09d89e8cbc35597857..20cbf088309d4dedb4a88027cdbf32266a4629a6 100644 (file)
@@ -1,3 +1,12 @@
+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.
index 2a4d0c02cfb48962765beb430b03785c58e314d4..1f0d65fbe7a66f79b40cd95aa8bfc868a127085b 100644 (file)
@@ -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);
index 7739381fa02916098907852386d6128e0571467d..f4f75e7d3932ae2c3704b0500f745475a97ae4fb 100644 (file)
@@ -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,