Remove buildsym_new_init
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 29df4a009c5cf091940b7de95e41396584023b0f..f80318288b1d0fff4acce17b83c2ac0998c6ea18 100644 (file)
@@ -1,3 +1,102 @@
+2018-07-16  Tom Tromey  <tom@tromey.com>
+
+       * xcoffread.c (xcoff_new_init): Update.
+       * mipsread.c (mipscoff_new_init): Update.
+       * mdebugread.c (mdebug_build_psymtabs): Update.
+       * elfread.c (elf_new_init): Update.
+       * dbxread.c (dbx_new_init, coffstab_build_psymtabs)
+       (elfstab_build_psymtabs, stabsect_build_psymtabs): Update.
+       * buildsym.h (buildsym_new_init): Don't declare.
+       * buildsym.c (buildsym_new_init): Remove.
+
+2018-07-16  Tom Tromey  <tom@tromey.com>
+
+       * stabsread.h (within_function): Move from buildsym.h.
+       * stabsread.c (start_stabs): Clear within_function.
+       * coffread.c (coff_start_symtab): Clear within_function.
+       * buildsym.h (within_function): Move to stabsread.h.
+       * buildsym.c (prepare_for_building): Update.
+
+2018-07-16  Tom Tromey  <tom@tromey.com>
+
+       * stabsread.h (processing_gcc_compilation): Move from buildsym.h.
+       * dwarf2read.c (dwarf2_start_symtab): Don't set
+       processing_gcc_compilation.
+       * buildsym.h (processing_gcc_compilation): Move to stabsread.h.
+
+2018-07-16  Tom Tromey  <tom@tromey.com>
+
+       * stabsread.h (HASHSIZE, hashname, symnum, next_symbol_text)
+       (next_symbol_text_func): Move from buildsym.h.
+       * stabsread.c (hashname): Move from buildsym.c.
+       * buildsym.h (HASHSIZE, symnum, next_symbol_text)
+       (next_symbol_text_func, hashname): Move to stabsread.h.
+       * buildsym.c: Don't include bcache.h
+       (hashname): Move to stasbread.c.
+
+2018-07-16  Tom Tromey  <tom@tromey.com>
+
+       * buildsym.h (context_stack_size): Don't declare.
+       * buildsym.c (context_stack_size): New global.
+
+2018-07-16  Tom Tromey  <tom@tromey.com>
+
+       * dbxread.c (processing_acc_compilation): New global.
+       * buildsym.h (processing_acc_compilation): Don't declare.
+
+2018-07-16  Tom Tromey  <tom@tromey.com>
+
+       * xcoffread.c (aix_process_linenos, complete_symtab): Update.
+       * dbxread.c (read_ofile_symtab): Update.
+       * coffread.c (coff_start_symtab, coff_end_symtab): Update.
+       * buildsym.h (last_source_start_addr): Remove.
+       (set_last_source_start_addr, get_last_source_start_addr):
+       Declare.
+       * buildsym.c (buildsym_compunit::buildsym_compunit): Add last_addr
+       parameter.
+       (struct buildsym_compunit) <m_last_source_start_addr>: New
+       member.
+       (prepare_for_building): Remove start_addr parameter.
+       (start_symtab, restart_symtab, end_symtab_get_static_block)
+       (end_symtab_with_blockvector): Update.
+       (set_last_source_start_addr, get_last_source_start_addr): New
+       functions.
+
+2018-07-16  Tom Tromey  <tom@tromey.com>
+
+       * buildsym.c (struct buildsym_compunit) <m_have_line_numbers>: New
+       member.
+       (have_line_numbers): Remove.
+       (record_line, prepare_for_building, end_symtab_get_static_block)
+       (augment_type_symtab): Update.
+
+2018-07-16  Tom Tromey  <tom@tromey.com>
+
+       * buildsym.c (~buildsym_compunit): Free the macro table.
+       (struct buildsym_compunit) <get_macro_table, release_macros>: New
+       methods.
+       <m_pending_macros>: New member.
+       (pending_macros): Remove.
+       (~scoped_free_pendings, get_macro_table, prepare_for_building)
+       (reset_symtab_globals, end_symtab_get_static_block)
+       (end_symtab_with_blockvector, augment_type_symtab)
+       (buildsym_init): Update.
+
+2018-07-16  Tom Tromey  <tom@tromey.com>
+
+       * buildsym.c (buildsym_compunit::buildsym_compunit): Add name
+       parameter.
+       (buildsym_compunit::set_last_source_file): New method.
+       <m_last_source_file>: New member.
+       (prepare_for_building): Remove "name" parameter.
+       (start_symtab, restart_symtab, reset_symtab_globals): Update.
+       (last_source_file): Remove.
+       (set_last_source_file, get_last_source_file): Update.
+
+2018-07-16  Tom Tromey  <tom@tromey.com>
+
+       * buildsym.c (prepare_for_building): Add assert.
+
 2018-07-16  Tom Tromey  <tom@tromey.com>
 
        * buildsym.c (~buildsym_compunit): Update.
This page took 0.025057 seconds and 4 git commands to generate.