diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-01-28 10:59:38 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-04-27 22:05:02 -0400 |
commit | 4b8791e10e574d3279e6783b58556893b0c92853 (patch) | |
tree | e348e10e55388797f1bb53f3b6ae5cc990f1d223 /gdb/infcmd.c | |
parent | dfb138f9344ca671e7e16fffe36779d38d18c490 (diff) | |
download | gdb-4b8791e10e574d3279e6783b58556893b0c92853.zip gdb-4b8791e10e574d3279e6783b58556893b0c92853.tar.gz gdb-4b8791e10e574d3279e6783b58556893b0c92853.tar.bz2 |
gdb: remove BLOCK_{START,END} macros
Replace with equivalent methods.
Change-Id: I10a6c8a2a86462d9d4a6a6409a3f07a6bea66310
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 (); } } |