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:
@@ -991,7 +991,7 @@ buildsym_compunit::end_symtab_with_blockvector (struct block *static_block,
|
||||
we created the subfile, and we may have altered our
|
||||
opinion of what language it is from things we found in
|
||||
the symbols. */
|
||||
symtab->language = subfile->language;
|
||||
symtab->set_language (subfile->language);
|
||||
}
|
||||
|
||||
/* Make sure the filetab of main_subfile is the primary filetab of the CU. */
|
||||
|
||||
Reference in New Issue
Block a user