gdb: remove BLOCKVECTOR_MAP macro

Replace with equivalent methods.

Change-Id: I4e56c76dfc363c1447686fb29c4212ea18b4dba0
This commit is contained in:
Simon Marchi
2022-04-20 17:17:11 -04:00
parent bad9471aab
commit 414705d1c2
7 changed files with 26 additions and 17 deletions

View File

@ -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 ())
{