diff options
author | Tom Tromey <tromey@redhat.com> | 2012-12-18 19:21:49 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-12-18 19:21:49 +0000 |
commit | 55020ed353a04bd3de48148e8a46e9c1034b9b3b (patch) | |
tree | e14a67b39484b3c5dec05c5186a3c15e807e7297 /gdb/minsyms.c | |
parent | 6c9f4555290253dd18448daefe916fc599bbc284 (diff) | |
download | gdb-55020ed353a04bd3de48148e8a46e9c1034b9b3b.tar.gz |
* minsyms.c (lookup_solib_trampoline_symbol_by_pc): Now static.
* minsyms.h (lookup_solib_trampoline_symbol_by_pc): Don't
declare.
Diffstat (limited to 'gdb/minsyms.c')
-rw-r--r-- | gdb/minsyms.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/minsyms.c b/gdb/minsyms.c index a3a376cf3be..d090a748311 100644 --- a/gdb/minsyms.c +++ b/gdb/minsyms.c @@ -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); |