Convert the DWARF reader to new-style buildysm
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 5b332d3b37c71112bc65ea6930b54df218d08f8a..80d15bd1482e0b6d26299ea13abb1d3c327e988e 100644 (file)
@@ -1,3 +1,43 @@
+2018-07-20  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.c: Include buildsym.h.
+       (struct dwarf2_cu) <builder>: New method.
+       (fixup_go_packaging): Update.
+       (process_full_comp_unit, process_full_type_unit): Update.  Don't
+       use scoped_free_pendings.
+       (using_directives): Add "cu" parameter, remove "language".
+       (read_import_statement, setup_type_unit_groups, )
+       (read_func_scope, read_lexical_block_scope)
+       (dwarf2_record_block_ranges, read_namespace): Update.
+       (lnp_state_machine::lnp_state_machine): Add cu parameter.
+       (lnp_state_machine::handle_end_sequence): Update.
+       (class lnp_state_machine) <m_cu>: New member.
+       <m_record_line_callback>: Remove.
+       <m_currently_recording_lines>: New member.
+       (lnp_state_machine::handle_set_file): Update.
+       (noop_record_line): Remove.
+       (dwarf_record_line_p): Add cu parameter.
+       (dwarf_record_line_1, dwarf_finish_line): Likewise.
+       (lnp_state_machine::record_line)
+       (lnp_state_machine::lnp_state_machine)
+       (lnp_state_machine::check_line_address, dwarf_decode_lines_1)
+       (dwarf_decode_lines): Update.
+       (dwarf2_start_subfile): Add cu parameter.
+       (dwarf2_start_symtab, new_symbol): Update.
+       (macro_start_file, dwarf_decode_macro_bytes): Add cu parameter.
+       Remove dwarf2_per_objfile parameter.
+       (dwarf_decode_macros): Update.
+
+2018-07-20  Tom Tromey  <tom@tromey.com>
+
+       * stabsread.c (define_symbol): Update.
+       * buildsym-legacy.h (get_buildsym_compunit): Declare.
+       * dwarf2read.c (new_symbol): Update.
+       * cp-support.h (cp_scan_for_anonymous_namespaces): Update.
+       * cp-namespace.c: Include buildsym.h.
+       (cp_scan_for_anonymous_namespaces): Add "compunit" parameter.
+       * buildsym-legacy.c (get_buildsym_compunit): New function.
+
 2018-07-20  Tom Tromey  <tom@tromey.com>
 
        * xcoffread.c: Include buildsym-legacy.h.
This page took 0.025365 seconds and 4 git commands to generate.