diff options
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index c7f339a..5368fcd 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -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 (); } } |