mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-16 23:06:48 +08:00
gdb: remove COMPUNIT_BLOCKVECTOR macro, add getter/setter
Add a getter and a setter for a compunit_symtab's blockvector. Remove the corresponding macro and adjust all callers. Change-Id: I99484c6619dcbbea7c5d89c72aa660316ca62f64
This commit is contained in:

committed by
Simon Marchi

parent
0d9acb4531
commit
af39c5c874
@ -667,7 +667,7 @@ objfile_relocate1 (struct objfile *objfile,
|
||||
|
||||
for (compunit_symtab *cust : objfile->compunits ())
|
||||
{
|
||||
const struct blockvector *bv = COMPUNIT_BLOCKVECTOR (cust);
|
||||
const struct blockvector *bv = cust->blockvector ();
|
||||
int block_line_section = COMPUNIT_BLOCK_LINE_SECTION (cust);
|
||||
|
||||
if (BLOCKVECTOR_MAP (bv))
|
||||
|
Reference in New Issue
Block a user