gdb: add compunit_symtab::set_primary_filetab method
authorSimon Marchi <simon.marchi@efficios.com>
Sat, 20 Nov 2021 02:14:36 +0000 (21:14 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 6 Feb 2022 20:48:18 +0000 (15:48 -0500)
commit36664835fa3f81503633024e0e834be4d84276e1
treea00cbe27884e94579e4ddb559faf62356be3d4b1
parent43b49762a17718fe13718238a8c0af9b62b682d4
gdb: add compunit_symtab::set_primary_filetab method

Add a method to set the primary filetab of the CU.  This is currently
done in buildsym_compunit::end_symtab_with_blockvector.

Change-Id: I16c51a6b90a4cb4c0c5f183b0f2e12bc64b6fd74
gdb/buildsym.c
gdb/symtab.c
gdb/symtab.h