aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-06-05 13:50:40 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-06-05 13:50:40 +0000
commit67ff19f7de8c61147c5401c7f56ad30fda0f5491 (patch)
treef0545b792e6b7ddbfab091e3eb96a4b98948629f /gdb/ChangeLog
parentc56e7c4390ed81ff5466f3415198e91ee63a0744 (diff)
downloadgdb-67ff19f7de8c61147c5401c7f56ad30fda0f5491.zip
gdb-67ff19f7de8c61147c5401c7f56ad30fda0f5491.tar.gz
gdb-67ff19f7de8c61147c5401c7f56ad30fda0f5491.tar.bz2
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/ChangeLog')
-rw-r--r--gdb/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a1e9b5a..743e974 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,20 @@
2012-06-05 Joel Brobecker <brobecker@adacore.com>
+ 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.
+
+2012-06-05 Joel Brobecker <brobecker@adacore.com>
+
* breakpoint.c (find_condition_and_thread): Stop parsing
as soon as the first invalid keyword is found.