forked from Imagelibrary/binutils-gdb
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
@@ -980,8 +980,8 @@ prepare_one_step (thread_info *tp, struct step_command_fsm *sm)
|
||||
if (sym->aclass () == LOC_BLOCK)
|
||||
{
|
||||
const block *block = sym->value_block ();
|
||||
if (BLOCK_END (block) < tp->control.step_range_end)
|
||||
tp->control.step_range_end = BLOCK_END (block);
|
||||
if (block->end () < tp->control.step_range_end)
|
||||
tp->control.step_range_end = block->end ();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user