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/inline-frame.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gdb/inline-frame.c') diff --git a/gdb/inline-frame.c b/gdb/inline-frame.c index c502674..57b58f3 100644 --- a/gdb/inline-frame.c +++ b/gdb/inline-frame.c @@ -286,11 +286,10 @@ block_starting_point_at (CORE_ADDR pc, const struct block *block) const struct block *new_block; bv = blockvector_for_pc (pc, NULL); - if (BLOCKVECTOR_MAP (bv) == NULL) + if (bv->map () == nullptr) return 0; - new_block = (const struct block *) addrmap_find (BLOCKVECTOR_MAP (bv), - pc - 1); + new_block = (const struct block *) addrmap_find (bv->map (), pc - 1); if (new_block == NULL) return 1; -- cgit v1.1