mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
gdb: remove COMPUNIT_OBJFILE macro
Remove the macro, update all users to use the getter directly. Change-Id: I3f0fd6f4455d1c4ebd5da73b561eb18a979ef1f6
This commit is contained in:

committed by
Simon Marchi

parent
f1f58f102e
commit
9821f3fa56
@ -51,7 +51,7 @@ block_objfile (const struct block *block)
|
||||
return symbol_objfile (BLOCK_FUNCTION (block));
|
||||
|
||||
global_block = (struct global_block *) block_global_block (block);
|
||||
return COMPUNIT_OBJFILE (global_block->compunit_symtab);
|
||||
return global_block->compunit_symtab->objfile ();
|
||||
}
|
||||
|
||||
/* See block. */
|
||||
|
Reference in New Issue
Block a user