summaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-06-05 13:50:39 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-06-05 13:50:39 +0000
commit6624a4698fbcd343e56a6505c1e384d8a3f6a39c (patch)
tree48ab5163cc9b038b6b438cfd7e333e48df902339 /gdb/gdbarch.h
parente8fb524526506e0b39270b05e73fbc98dd5c4572 (diff)
downloadgdb-6624a4698fbcd343e56a6505c1e384d8a3f6a39c.tar.gz
Revert "Search global symbols from the expression's block objfile first."
The search order used in this patch breaks global symbol lookups for certain symbols when copy-relocation is used. A slightly different search order will be implemented later. gdb/ChangeLog: Revert the following patch: * findvar.c (default_read_var_value): For LOC_UNRESOLVED symbols, try locating the symbol in the symbol's own objfile first, before extending the search to all objfiles. * symtab.c (lookup_symbol_aux_objfile): New function, extracted out of lookup_symbol_aux_symtabs. (lookup_symbol_aux_symtabs): Add new parameter "exclude_objfile". Replace extracted-out code by call to lookup_symbol_aux_objfile. Do not search EXCLUDE_OBJFILE. (lookup_static_symbol_aux): Update call to lookup_symbol_aux_symtabs. (lookup_symbol_global): Search for matches in the block's objfile first, before searching all other objfiles.
Diffstat (limited to 'gdb/gdbarch.h')
0 files changed, 0 insertions, 0 deletions