mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 16:53:50 +08:00
gdb: remove BLOCK_RANGE_{START,END} macros
Replace with equivalent methods on blockrange. Change-Id: I20fd8f624e0129782c36768291891e7582d77c74
This commit is contained in:

committed by
Simon Marchi

parent
3fe38936f6
commit
6dd5a4bd44
@ -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)),
|
||||
|
Reference in New Issue
Block a user