aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-12-21 07:34:09 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-12-21 07:34:09 +0000
commitbb2f58dc41241652af78a29619c0a7986669bcd3 (patch)
tree9e346ba08049ee709b119afa92fb9f4e16b38480 /gdb/ChangeLog
parent53907c915d3736e1859c3c0af66d713baf6fe6bd (diff)
downloadgdb-bb2f58dc41241652af78a29619c0a7986669bcd3.zip
gdb-bb2f58dc41241652af78a29619c0a7986669bcd3.tar.gz
gdb-bb2f58dc41241652af78a29619c0a7986669bcd3.tar.bz2
Use symbol search name in expand_symtabs_matching_via_partial...
We are iterating over all symbols in a partial symtab that would match a given name, so we should match the partial symbols search name against the given name rather than using the natural name. In C++, that does not make a difference, but it does in Ada, because Ada searches using the symbol encoded name... We also update the generation of the .gdb_index file to match this change in the search. Although technically an incompatible change, we do not increment the gdb_index version number, because Ada is the only language where it would make a difference - except that this feature is not supported for Ada. gdb/ChangeLog: * psymtab.c (expand_symtabs_matching_via_partial): Match the partial symbols using their SYMBOL_SEARCH_NAME. * symfile.h (struct quick_symbol_functions): Udate the documentation of expand_symtabs_matching. * dwarf2read.c (write_psymbols): Use SYMBOL_SEARCH_NAME instead of SYMBOL_NATURAL_NAME in index entry.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b56e4e2..86c47a7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,14 @@
2011-12-21 Joel Brobecker <brobecker@adacore.com>
+ * psymtab.c (expand_symtabs_matching_via_partial): Match
+ the partial symbols using their SYMBOL_SEARCH_NAME.
+ * symfile.h (struct quick_symbol_functions): Udate the
+ documentation of expand_symtabs_matching.
+ * dwarf2read.c (write_psymbols): Use SYMBOL_SEARCH_NAME instead
+ of SYMBOL_NATURAL_NAME in index entry.
+
+2011-12-21 Joel Brobecker <brobecker@adacore.com>
+
* linespec.c (locate_first_half): Add handling of Ada operators
when the current language is Ada.