gdb: remove objfile parameter from get_objfile_bfd_data
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 1bdd652b632a0d0650d31eec958756f1b8028427..21cd0f031c2266c3550d89a792693726ea61af67 100644 (file)
@@ -1,3 +1,38 @@
+2021-04-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * objfiles.c (get_objfile_bfd_data): Remove objfile parameter,
+       adjust callers.
+
+2021-04-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * psympriv.h (struct partial_symtab) <partial_symtab>: Change
+       objfile parameter for objfile_per_bfd_storage, adjust callers.
+       (struct standard_psymtab) <standard_psymtab>: Likewise.
+       (struct legacy_psymtab) <legacy_psymtab>: Likewise.
+       * psymtab.c (partial_symtab::partial_symtab): Likewise.
+       * ctfread.c (struct ctf_psymtab): Likewise.
+       * dwarf2/read.h (struct dwarf2_psymtab): Likewise.
+       * dwarf2/read.c (struct dwarf2_include_psymtab): Likewise.
+       (dwarf2_create_include_psymtab): Likewise.
+       * objfiles.h (struct objfile_per_bfd_storage)
+       <objfile_per_bfd_storage>: Add bfd parameter, adjust callers.
+       <get_bfd>: New method.
+       <m_bfd>: New field.
+       * objfiles.c (get_objfile_bfd_data): Adjust.
+
+2021-04-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * psymtab.c (partial_symtab::partial_symtab): Change
+       last_objfile_name to be an std::string.
+       * symfile.c (allocate_symtab): Likewise.
+
+2021-04-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * objfiles.h (struct objfile_per_bfd_storage) <intern>: New
+       methods.
+       (struct objfile) <intern>: Use
+       objfile::objfile_per_bfd_storage::intern.
+
 2021-04-01  Simon Marchi  <simon.marchi@efficios.com>
 
        * gdbtypes.h (TYPE_FLAG_ENUM): Remove, replace all uses
This page took 0.023612 seconds and 4 git commands to generate.