forked from Imagelibrary/binutils-gdb
gdb: remove COMPUNIT_DEBUGFORMAT macro, add getter/setter
Add a getter and a setter for a compunit_symtab's debugformat. Remove the corresponding macro and adjust all callers. Change-Id: I1667b02d5322346f8e23abd9f8a584afbcd75975
This commit is contained in:
committed by
Simon Marchi
parent
510860f278
commit
422f1ea279
@@ -4634,7 +4634,7 @@ new_symtab (const char *name, int maxlines, struct objfile *objfile)
|
||||
BLOCKVECTOR_BLOCK (bv, GLOBAL_BLOCK);
|
||||
COMPUNIT_BLOCKVECTOR (cust) = bv;
|
||||
|
||||
COMPUNIT_DEBUGFORMAT (cust) = "ECOFF";
|
||||
cust->set_debugformat ("ECOFF");
|
||||
return cust;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user