gdb: add compunit_symtab::add_filetab method
authorSimon Marchi <simon.marchi@efficios.com>
Sat, 20 Nov 2021 01:59:59 +0000 (20:59 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 6 Feb 2022 20:48:18 +0000 (15:48 -0500)
commit43b49762a17718fe13718238a8c0af9b62b682d4
tree8be30b479fd70e628e0f8a4e2085465549f98768
parent0b17a4f78fb969e7c1ae298561ef6963c73006a7
gdb: add compunit_symtab::add_filetab method

Add a method to append a filetab/symtab to a compunit_symtab.  There is
a single place where this is done currently, in allocate_symtab.

Change-Id: Ie86c6e34d175728173d1cffdce44acd6cff6c31d
gdb/symfile.c
gdb/symtab.h