gdb: remove BLOCK_ENTRY_PC macro

Replace with equivalent method.

Change-Id: I0e033095e7358799930775e61028b48246971a7d
This commit is contained in:
Simon Marchi 2022-02-06 22:41:58 -05:00 committed by Simon Marchi
parent 086d03c91e
commit 6395b62847
17 changed files with 56 additions and 51 deletions

View file

@ -1345,7 +1345,7 @@ until_next_command (int from_tty)
{
sal = find_pc_line (pc, 0);
tp->control.step_range_start = BLOCK_ENTRY_PC (func->value_block ());
tp->control.step_range_start = func->value_block ()->entry_pc ();
tp->control.step_range_end = sal.end;
/* By setting the step_range_end based on the current pc, we are