forked from Imagelibrary/binutils-gdb
gdb: remove SYMTAB_LANGUAGE macro, add getter/setter
Add a getter and a setter for a symtab's language. Remove the corresponding macro and adjust all callers. Change-Id: I9f4d840b11c19f80f39bac1bce020fdd1739e11f
This commit is contained in:
@@ -4084,10 +4084,11 @@ mdebug_expand_psymtab (legacy_psymtab *pst, struct objfile *objfile)
|
||||
|
||||
/* The proper language was already determined when building
|
||||
the psymtab, use it. */
|
||||
cust->primary_filetab ()->language = PST_PRIVATE (pst)->pst_language;
|
||||
cust->primary_filetab ()->set_language
|
||||
(PST_PRIVATE (pst)->pst_language);
|
||||
}
|
||||
|
||||
psymtab_language = cust->primary_filetab ()->language;
|
||||
psymtab_language = cust->primary_filetab ()->language ();
|
||||
|
||||
lines = cust->primary_filetab ()->linetable ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user