gdb: remove BLOCK_RANGE_{START,END} macros
Replace with equivalent methods on blockrange. Change-Id: I20fd8f624e0129782c36768291891e7582d77c74
This commit is contained in:
parent
3fe38936f6
commit
6dd5a4bd44
4 changed files with 35 additions and 26 deletions
|
@ -1444,8 +1444,8 @@ print_disassembly (struct gdbarch *gdbarch, const char *name,
|
|||
{
|
||||
for (int i = 0; i < BLOCK_NRANGES (block); i++)
|
||||
{
|
||||
CORE_ADDR range_low = BLOCK_RANGE_START (block, i);
|
||||
CORE_ADDR range_high = BLOCK_RANGE_END (block, i);
|
||||
CORE_ADDR range_low = BLOCK_RANGE (block)[i].start ();
|
||||
CORE_ADDR range_high = BLOCK_RANGE (block)[i].end ();
|
||||
gdb_printf (_("Address range %ps to %ps:\n"),
|
||||
styled_string (address_style.style (),
|
||||
paddress (gdbarch, range_low)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue