mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
gdb: remove BLOCK_{START,END} macros
Replace with equivalent methods. Change-Id: I10a6c8a2a86462d9d4a6a6409a3f07a6bea66310
This commit is contained in:
committed by
Simon Marchi
parent
dfb138f934
commit
4b8791e10e
@@ -2432,7 +2432,7 @@ inside_main_func (frame_info *this_frame)
|
||||
|
||||
const struct block *block = bs.symbol->value_block ();
|
||||
gdb_assert (block != nullptr);
|
||||
sym_addr = BLOCK_START (block);
|
||||
sym_addr = block->start ();
|
||||
}
|
||||
else
|
||||
sym_addr = msymbol.value_address ();
|
||||
|
||||
Reference in New Issue
Block a user