* minsyms.c (lookup_solib_trampoline_symbol_by_pc): Now static.
* minsyms.h (lookup_solib_trampoline_symbol_by_pc): Don't declare.
This commit is contained in:
parent
ddd27bdefd
commit
c9630d9c13
|
@ -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>
|
2012-12-18 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* defs.h (enum gdb_osabi): Add GDB_OSABI_LYNXOS178.
|
* defs.h (enum gdb_osabi): Add GDB_OSABI_LYNXOS178.
|
||||||
|
|
|
@ -1302,9 +1302,11 @@ msymbols_sort (struct objfile *objfile)
|
||||||
build_minimal_symbol_hash_tables (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)
|
lookup_solib_trampoline_symbol_by_pc (CORE_ADDR pc)
|
||||||
{
|
{
|
||||||
struct obj_section *section = find_pc_section (pc);
|
struct obj_section *section = find_pc_section (pc);
|
||||||
|
|
|
@ -228,12 +228,6 @@ struct minimal_symbol *lookup_minimal_symbol_by_pc_section
|
||||||
|
|
||||||
struct minimal_symbol *lookup_minimal_symbol_by_pc (CORE_ADDR);
|
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
|
/* Iterate over all the minimal symbols in the objfile OBJF which
|
||||||
match NAME. Both the ordinary and demangled names of each symbol
|
match NAME. Both the ordinary and demangled names of each symbol
|
||||||
are considered. The caller is responsible for canonicalizing NAME,
|
are considered. The caller is responsible for canonicalizing NAME,
|
||||||
|
|
Loading…
Reference in New Issue