gdb: rename compunit_primary_filetab to compunit_symtab::primary_filetab

Make compunit_primary_filetab a method of compunit_symtab.

Change-Id: Iee3c4f7e36d579bf763c5bba146e5e10d6766768
This commit is contained in:
Simon Marchi
2021-11-19 20:50:59 -05:00
committed by Simon Marchi
parent 9821f3fa56
commit 0b17a4f78f
7 changed files with 15 additions and 17 deletions

View File

@@ -3113,7 +3113,7 @@ dwarf2_base_index_functions::find_last_source_symtab (struct objfile *objfile)
if (cust == NULL)
return NULL;
return compunit_primary_filetab (cust);
return cust->primary_filetab ();
}
/* See read.h. */