* minsyms.c (lookup_solib_trampoline_symbol_by_pc): Now static.
authorTom Tromey <tromey@redhat.com>
Tue, 18 Dec 2012 19:21:53 +0000 (19:21 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 18 Dec 2012 19:21:53 +0000 (19:21 +0000)
* minsyms.h (lookup_solib_trampoline_symbol_by_pc): Don't
declare.

gdb/ChangeLog
gdb/minsyms.c
gdb/minsyms.h

index 48c10b971f0f108c935a914310497e0fd4dc0020..04dd5c290f8134c129c60deb5f7dcb9ca7ccc844 100644 (file)
@@ -1,3 +1,9 @@
+2012-12-12  Tom Tromey  <tromey@redhat.com>
+
+       * minsyms.c (lookup_solib_trampoline_symbol_by_pc): Now static.
+       * minsyms.h (lookup_solib_trampoline_symbol_by_pc): Don't
+       declare.
+
 2012-12-18  Joel Brobecker  <brobecker@adacore.com>
 
        * defs.h (enum gdb_osabi): Add GDB_OSABI_LYNXOS178.
index a3a376cf3be9c495a5876c6d29293e72001e4ee3..d090a748311aecd856f8d7a8ce5e9946f893f4a7 100644 (file)
@@ -1302,9 +1302,11 @@ msymbols_sort (struct objfile *objfile)
   build_minimal_symbol_hash_tables (objfile);
 }
 
-/* See minsyms.h.  */
+/* Check if PC is in a shared library trampoline code stub.
+   Return minimal symbol for the trampoline entry or NULL if PC is not
+   in a trampoline code stub.  */
 
-struct minimal_symbol *
+static struct minimal_symbol *
 lookup_solib_trampoline_symbol_by_pc (CORE_ADDR pc)
 {
   struct obj_section *section = find_pc_section (pc);
index 8f0472fb32c61fcb2cc2dbde19e75c29e83618f9..92dd599b876540a737461577d4c43b4ec1195186 100644 (file)
@@ -228,12 +228,6 @@ struct minimal_symbol *lookup_minimal_symbol_by_pc_section
 
 struct minimal_symbol *lookup_minimal_symbol_by_pc (CORE_ADDR);
 
-/* Check if PC is in a shared library trampoline code stub.
-   Return minimal symbol for the trampoline entry or NULL if PC is not
-   in a trampoline code stub.  */
-
-struct minimal_symbol *lookup_solib_trampoline_symbol_by_pc (CORE_ADDR);
-
 /* Iterate over all the minimal symbols in the objfile OBJF which
    match NAME.  Both the ordinary and demangled names of each symbol
    are considered.  The caller is responsible for canonicalizing NAME,
This page took 0.030349 seconds and 4 git commands to generate.