mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
gdb: remove BLOCKVECTOR_MAP macro
Replace with equivalent methods. Change-Id: I4e56c76dfc363c1447686fb29c4212ea18b4dba0
This commit is contained in:
@ -667,8 +667,8 @@ objfile_relocate1 (struct objfile *objfile,
|
||||
struct blockvector *bv = cust->blockvector ();
|
||||
int block_line_section = cust->block_line_section ();
|
||||
|
||||
if (BLOCKVECTOR_MAP (bv))
|
||||
addrmap_relocate (BLOCKVECTOR_MAP (bv), delta[block_line_section]);
|
||||
if (bv->map () != nullptr)
|
||||
addrmap_relocate (bv->map (), delta[block_line_section]);
|
||||
|
||||
for (block *b : bv->blocks ())
|
||||
{
|
||||
|
Reference in New Issue
Block a user