diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-12-18 16:02:54 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-12-18 16:02:54 +0000 |
commit | 56e3f43cb65608a19ca9005d77c96a66e6e4d7cb (patch) | |
tree | df635cc85d9d5a0c193b7b611afe0eac0dceaf1c /gdb/symtab.c | |
parent | 8b4ed4273f44bf259e717783004ede8d5bb87210 (diff) | |
download | gdb-56e3f43cb65608a19ca9005d77c96a66e6e4d7cb.zip gdb-56e3f43cb65608a19ca9005d77c96a66e6e4d7cb.tar.gz gdb-56e3f43cb65608a19ca9005d77c96a66e6e4d7cb.tar.bz2 |
* minsyms.c (lookup_minimal_symbol): Also check the separate
debug objfile.
(lookup_minimal_symbol_text): Likewise.
(lookup_minimal_symbol_solib_trampoline): Likewise.
* symtab.c (lookup_global_symbol_from_objfile): Likewise.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 966bd73..f836878 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -1363,6 +1363,11 @@ lookup_global_symbol_from_objfile (const struct objfile *objfile, } } + if (objfile->separate_debug_objfile) + return lookup_global_symbol_from_objfile (objfile->separate_debug_objfile, + name, linkage_name, domain, + symtab); + return NULL; } |