Move the subfile stack to buildsym_compunit
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index ad72cd8b2682675992cfec80ad5d721a64da3006..7d12bee3b11396df4ccd6fdc8670566f035602d4 100644 (file)
@@ -1,3 +1,54 @@
+2018-07-16  Tom Tromey  <tom@tromey.com>
+
+       * buildsym.h (push_subfile, pop_subfile): Update declarations.
+       * buildsym.c (struct buildsym_compunit) <m_subfile_stack>: New
+       member.
+       (struct subfile_stack): Remove.
+       (subfile_stack): Remove.
+       (push_subfile, pop_subfile, buildsym_init): Update.
+
+2018-07-16  Tom Tromey  <tom@tromey.com>
+
+       * buildsym.c (push_subfile): Use gdb_assert.
+       (pop_subfile): Use gdb_assert.
+
+2018-07-16  Tom Tromey  <tom@tromey.com>
+
+       * buildsym.h (merge_symbol_lists): Remove.
+       * buildsym.c (merge_symbol_lists): Remove.
+
+2018-07-16  Tom Tromey  <tom@tromey.com>
+
+       * stabsread.c (scan_file_globals): Update comment.
+       * stabsread.h (scan_file_globals): Move from buildsym.h.
+       * buildsym.h (scan_file_globals): Move to stabsread.h.
+
+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)
This page took 0.025069 seconds and 4 git commands to generate.