summaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-10-07 19:40:38 +0000
committerTom Tromey <tromey@redhat.com>2013-10-07 19:40:38 +0000
commitb880d6dd9defa4637eaeb79c5ff529bba81e2a7f (patch)
treeab675cbb34fd86d8c7a825b1ebf6bcb9df0e28b2 /gdb/ChangeLog
parent05348221297f63aabaab81061c81d1829b87abf5 (diff)
downloadgdb-b880d6dd9defa4637eaeb79c5ff529bba81e2a7f.tar.gz
move the demangled_names_hash into the per-BFD
This moves the demangled_names_hash from the objfile into the per-BFD object. This is part of the objfile splitting project. The demangled names hash is independent of the program space. And, it is needed by the symbol tables. Both of these things indicate that it must be pushed into the per-BFD object, which this patch does. Built and regtested on x86-64 Fedora 18. * objfiles.c (free_objfile_per_bfd_storage): Delete the demangled_names_hash. (free_objfile): Don't delete the demangled_names_hash. * objfiles.h (struct objfile_per_bfd_storage) <demangled_names_hash>: New field. (struct objfile) <demangled_names_hash>: Move to objfile_per_bfd_storage. * symfile.c (reread_symbols): Don't delete the demangled_names_hash. * symtab.c (create_demangled_names_hash): Update. (symbol_set_names): Update.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5a10cbaa39c..a0c0b97cbe4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,19 @@
2013-10-07 Tom Tromey <tromey@redhat.com>
+ * objfiles.c (free_objfile_per_bfd_storage): Delete the
+ demangled_names_hash.
+ (free_objfile): Don't delete the demangled_names_hash.
+ * objfiles.h (struct objfile_per_bfd_storage)
+ <demangled_names_hash>: New field.
+ (struct objfile) <demangled_names_hash>: Move to
+ objfile_per_bfd_storage.
+ * symfile.c (reread_symbols): Don't delete the
+ demangled_names_hash.
+ * symtab.c (create_demangled_names_hash): Update.
+ (symbol_set_names): Update.
+
+2013-10-07 Tom Tromey <tromey@redhat.com>
+
* gdb_bfd.c (struct gdb_bfd_data) <relocation_computed,
needs_relocations>: New fields.
(gdb_bfd_requires_relocations): New function.