mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +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
@ -683,8 +683,9 @@ objfile_relocate1 (struct objfile *objfile,
|
||||
if (BLOCK_RANGES (b) != nullptr)
|
||||
for (int j = 0; j < BLOCK_NRANGES (b); j++)
|
||||
{
|
||||
BLOCK_RANGE_START (b, j) += delta[block_line_section];
|
||||
BLOCK_RANGE_END (b, j) += delta[block_line_section];
|
||||
blockrange &r = BLOCK_RANGE (b)[j];
|
||||
r.set_start (r.start () + delta[block_line_section]);
|
||||
r.set_end (r.end () + delta[block_line_section]);
|
||||
}
|
||||
|
||||
/* We only want to iterate over the local symbols, not any
|
||||
|
Reference in New Issue
Block a user