aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c5
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;
}