aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2022-04-20 17:17:11 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2022-04-27 22:05:03 -0400
commit414705d1c2d359694459d3991a0975d051ac70b5 (patch)
tree201d88e54b350f7a39e38863cb15fb5b4930a34b /gdb/buildsym.c
parentbad9471aab31d1b5aa733b8985b8e40e2a97b8e7 (diff)
downloadgdb-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/buildsym.c')
-rw-r--r--gdb/buildsym.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index 48cd967..c54e658 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -457,10 +457,10 @@ buildsym_compunit::make_blockvector ()
/* If we needed an address map for this symtab, record it in the
blockvector. */
if (m_pending_addrmap != nullptr && m_pending_addrmap_interesting)
- BLOCKVECTOR_MAP (blockvector)
- = addrmap_create_fixed (m_pending_addrmap, &m_objfile->objfile_obstack);
+ blockvector->set_map
+ (addrmap_create_fixed (m_pending_addrmap, &m_objfile->objfile_obstack));
else
- BLOCKVECTOR_MAP (blockvector) = 0;
+ blockvector->set_map (nullptr);
/* Some compilers output blocks in the wrong order, but we depend on
their being in the right order so we can binary search. Check the