Introduce partial_symtab::expand_psymtab method
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index ed3b97bfa104e0de004e60d7cc6ffd24abcbcf3e..c6a0251e8dbbbf456eeb848f4c154ad57c8e6b66 100644 (file)
@@ -1,3 +1,33 @@
+2020-01-26  Tom Tromey  <tom@tromey.com>
+
+       * xcoffread.c (xcoff_psymtab_to_symtab_1): Change argument order.
+       Call expand_psymtab.
+       (xcoff_read_symtab): Call expand_psymtab.
+       (xcoff_start_psymtab, xcoff_end_psymtab): Set
+       legacy_expand_psymtab.
+       * psympriv.h (struct partial_symtab) <expand_psymtab>: New
+       method.
+       (struct legacy_psymtab) <expand_psymtab>: Implement.
+       <legacy_expand_psymtab>: New member.
+       * mdebugread.c (mdebug_read_symtab): Call expand_psymtab.
+       (parse_partial_symbols): Set legacy_expand_psymtab.
+       (psymtab_to_symtab_1): Change argument order.  Call
+       expand_psymtab.
+       (new_psymtab): Set legacy_expand_psymtab.
+       * dwarf2read.h (struct dwarf2_psymtab) <expand_psymtab>: Declare.
+       * dwarf2read.c (dwarf2_psymtab::read_symtab): Call
+       expand_psymtab.
+       (dwarf2_psymtab::expand_psymtab): Rename from
+       psymtab_to_symtab_1.  Call expand_psymtab.
+       * dbxread.c (start_psymtab): Set legacy_expand_psymtab.
+       (dbx_end_psymtab): Likewise.
+       (dbx_psymtab_to_symtab_1): Change argument order. Call
+       expand_psymtab.
+       (dbx_read_symtab): Call expand_psymtab.
+       * ctfread.c (struct ctf_psymtab) <expand_psymtab>: Declare.
+       (ctf_psymtab::expand_psymtab): Rename from psymtab_to_symtab.
+       (ctf_psymtab::read_symtab): Call expand_psymtab.
+
 2020-01-26  Tom Tromey  <tom@tromey.com>
 
        * xcoffread.c (xcoff_read_symtab): Remove prints.  Add assert.
This page took 0.023712 seconds and 4 git commands to generate.