diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2022-04-20 17:17:11 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-04-27 22:05:03 -0400 |
commit | 414705d1c2d359694459d3991a0975d051ac70b5 (patch) | |
tree | 201d88e54b350f7a39e38863cb15fb5b4930a34b /gdb/inline-frame.c | |
parent | bad9471aab31d1b5aa733b8985b8e40e2a97b8e7 (diff) | |
download | binutils-414705d1c2d359694459d3991a0975d051ac70b5.zip binutils-414705d1c2d359694459d3991a0975d051ac70b5.tar.gz binutils-414705d1c2d359694459d3991a0975d051ac70b5.tar.bz2 |
gdb: remove BLOCKVECTOR_MAP macro
Replace with equivalent methods.
Change-Id: I4e56c76dfc363c1447686fb29c4212ea18b4dba0
Diffstat (limited to 'gdb/inline-frame.c')
-rw-r--r-- | gdb/inline-frame.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; |