From 414705d1c2d359694459d3991a0975d051ac70b5 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 20 Apr 2022 17:17:11 -0400 Subject: gdb: remove BLOCKVECTOR_MAP macro Replace with equivalent methods. Change-Id: I4e56c76dfc363c1447686fb29c4212ea18b4dba0 --- gdb/symtab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/symtab.c') diff --git a/gdb/symtab.c b/gdb/symtab.c index 31e7160..4b33d6c 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -2987,9 +2987,9 @@ find_pc_sect_compunit_symtab (CORE_ADDR pc, struct obj_section *section) if (!in_range_p) continue; - if (BLOCKVECTOR_MAP (bv)) + if (bv->map () != nullptr) { - if (addrmap_find (BLOCKVECTOR_MAP (bv), pc) == nullptr) + if (addrmap_find (bv->map (), pc) == nullptr) continue; return cust; -- cgit v1.1