aboutsummaryrefslogtreecommitdiff
path: root/gold/po
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-20 17:23:40 -0600
committerTom Tromey <tom@tromey.com>2021-03-20 17:23:42 -0600
commit7e9c0476a7085cbebdc818d163d5c3bd46da6388 (patch)
tree91e6634d8595b50acb4d97fdd0dfd05d7754aa2f /gold/po
parent75336a5a2aa345953d0a9de73205457b6d9e27c2 (diff)
downloadgdb-7e9c0476a7085cbebdc818d163d5c3bd46da6388.zip
gdb-7e9c0476a7085cbebdc818d163d5c3bd46da6388.tar.gz
gdb-7e9c0476a7085cbebdc818d163d5c3bd46da6388.tar.bz2
Change how some psymbol readers access the psymtab storage
Currently, all psymbol readers access the psymtab storage via the objfile. This is done directly at any spot requiring the storage. In order to move psymbols out of the objfile, the psymtab_storage must be passed in explicitly. This patch consolidates the access of the storage in a single place in these readers, updating various functions to pass the storage object around. "Hidden" uses, like "objfile->psymtabs ()", are also updated. The DWARF reader is not yet touched. That requires more complicated changes. gdb/ChangeLog 2021-03-20 Tom Tromey <tom@tromey.com> * xcoffread.c (xcoff_end_psymtab): Add partial_symtabs parameter. (xcoff_end_psymtab): Update. (scan_xcoff_symtab): Add partial_symtabs parameter. (xcoff_initial_scan): Update. * stabsread.h (dbx_end_psymtab): Add partial_symtabs parameter. * mdebugread.c (mdebug_build_psymtabs): Update. (parse_partial_symbols): Add partial_symtabs parameter. * dbxread.c (dbx_symfile_read): Update. (read_dbx_symtab): Add partial_symtabs parameter. (read_dbx_symtab): Update. (dbx_end_psymtab): Add partial_symtabs parameter.
Diffstat (limited to 'gold/po')
0 files changed, 0 insertions, 0 deletions