diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-11-19 13:15:24 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-02-06 15:48:18 -0500 |
commit | 9821f3fa56de3e2c13c234357421ae1839ce27f7 (patch) | |
tree | 8c6ee2bcce75dce1d9b7b13b102fd373be93569f /gdb/block.c | |
parent | f1f58f102ee5f3dda04853582fcb6f22cc00329b (diff) | |
download | gdb-9821f3fa56de3e2c13c234357421ae1839ce27f7.zip gdb-9821f3fa56de3e2c13c234357421ae1839ce27f7.tar.gz gdb-9821f3fa56de3e2c13c234357421ae1839ce27f7.tar.bz2 |
gdb: remove COMPUNIT_OBJFILE macro
Remove the macro, update all users to use the getter directly.
Change-Id: I3f0fd6f4455d1c4ebd5da73b561eb18a979ef1f6
Diffstat (limited to 'gdb/block.c')
-rw-r--r-- | gdb/block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/block.c b/gdb/block.c index 2b6196c..6171645 100644 --- a/gdb/block.c +++ b/gdb/block.c @@ -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. */ |