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/symtab.c | |
parent | bad9471aab31d1b5aa733b8985b8e40e2a97b8e7 (diff) | |
download | fsf-binutils-gdb-414705d1c2d359694459d3991a0975d051ac70b5.zip fsf-binutils-gdb-414705d1c2d359694459d3991a0975d051ac70b5.tar.gz fsf-binutils-gdb-414705d1c2d359694459d3991a0975d051ac70b5.tar.bz2 |
gdb: remove BLOCKVECTOR_MAP macro
Replace with equivalent methods.
Change-Id: I4e56c76dfc363c1447686fb29c4212ea18b4dba0
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |