diff options
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 35eab08..54c7ed9 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -2634,11 +2634,7 @@ lookup_global_or_static_symbol (const char *name, return result; } - /* Call library-specific lookup procedure. */ - if (objfile != NULL) - result = solib_global_lookup (objfile, name, domain); - - /* If that didn't work go a global search (of global blocks, heh). */ + /* Do a global search (of global blocks, heh). */ if (result.symbol == NULL) { memset (&lookup_data, 0, sizeof (lookup_data)); |