aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-04-21 12:32:47 -0600
committerTom Tromey <tom@tromey.com>2019-05-08 16:01:48 -0600
commit5bfd760d66c816d53a930635a84990c8536bb545 (patch)
tree46b9f5765730b9ae35a80f562c1a81606bfe2ea3 /gdb/ChangeLog
parente85e19b4d7d9b3b322f27684f8c0a3a9ac0e57ab (diff)
downloadgdb-5bfd760d66c816d53a930635a84990c8536bb545.zip
gdb-5bfd760d66c816d53a930635a84990c8536bb545.tar.gz
gdb-5bfd760d66c816d53a930635a84990c8536bb545.tar.bz2
Convert dwarf2_per_objfile to type-safe registry API
This changes dwarf2_per_objfile to use the type-safe registry API. This also changes dwarf2_per_objfile not to be allocated on an obstack. It seemed clearer to me to simply allocate it on the heap; and I didn't see a drawback from doing so. gdb/ChangeLog 2019-05-08 Tom Tromey <tom@tromey.com> * dwarf2read.h (struct dwarf2_per_objfile): Don't inherit from allocate_on_obstack. * dwarf2read.c (dwarf2_objfile_data_key): Change type. (get_dwarf2_per_objfile): Update. (set_dwarf2_per_objfile): Remove. (dwarf2_has_info, dwarf2_get_section_info): Update. (dwarf2_free_objfile): Remove. (_initialize_dwarf2_read): Update.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 82e55e9..cb763b7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,16 @@
2019-05-08 Tom Tromey <tom@tromey.com>
+ * dwarf2read.h (struct dwarf2_per_objfile): Don't inherit from
+ allocate_on_obstack.
+ * dwarf2read.c (dwarf2_objfile_data_key): Change type.
+ (get_dwarf2_per_objfile): Update.
+ (set_dwarf2_per_objfile): Remove.
+ (dwarf2_has_info, dwarf2_get_section_info): Update.
+ (dwarf2_free_objfile): Remove.
+ (_initialize_dwarf2_read): Update.
+
+2019-05-08 Tom Tromey <tom@tromey.com>
+
* auto-load.c (struct auto_load_pspace_info): Add destructor and
initializers.
<unsupported_script_warning_printed,