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/objfiles.c | |
parent | bad9471aab31d1b5aa733b8985b8e40e2a97b8e7 (diff) | |
download | gdb-414705d1c2d359694459d3991a0975d051ac70b5.zip gdb-414705d1c2d359694459d3991a0975d051ac70b5.tar.gz gdb-414705d1c2d359694459d3991a0975d051ac70b5.tar.bz2 |
gdb: remove BLOCKVECTOR_MAP macro
Replace with equivalent methods.
Change-Id: I4e56c76dfc363c1447686fb29c4212ea18b4dba0
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 0fec523..3f18e98 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -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 ()) { |