diff options
author | Tom Tromey <tromey@redhat.com> | 2010-01-21 17:12:18 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-01-21 17:12:18 +0000 |
commit | 0d5392b8b1b1a362a58e90d4f734ff41c6ab7009 (patch) | |
tree | abd88dba4f076b349109b1380778accfe46fdbc8 /gdb/symtab.h | |
parent | 8b315be588fdf31c348a0f62c4314745ad10b79f (diff) | |
download | gdb-0d5392b8b1b1a362a58e90d4f734ff41c6ab7009.zip gdb-0d5392b8b1b1a362a58e90d4f734ff41c6ab7009.tar.gz gdb-0d5392b8b1b1a362a58e90d4f734ff41c6ab7009.tar.bz2 |
PR symtab/11198:
* symtab.h (lookup_minimal_symbol_and_objfile): Declare.
* minsyms.c (lookup_minimal_symbol_and_objfile): New function.
* glibc-tdep.c (find_minsym_and_objfile): Remove.
(glibc_skip_solib_resolver): Use
lookup_minimal_symbol_and_objfile.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 800ffd8..8759732 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -1158,6 +1158,10 @@ extern struct minimal_symbol *lookup_minimal_symbol_by_pc_name extern struct minimal_symbol *lookup_minimal_symbol_by_pc (CORE_ADDR); +extern struct minimal_symbol * + lookup_minimal_symbol_and_objfile (const char *, + struct objfile **); + extern struct minimal_symbol *lookup_minimal_symbol_by_pc_section (CORE_ADDR, struct obj_section *); |