aboutsummaryrefslogtreecommitdiff
path: root/gdb/jit.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/jit.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/jit.c')
-rw-r--r--gdb/jit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jit.c b/gdb/jit.c
index 9f2df71..b4a070b 100644
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -562,7 +562,7 @@ finalize_symtab (struct gdb_symtab *stab, struct objfile *objfile)
/* At the end of this function, (begin, end) will contain the PC range this
entire blockvector spans. */
- BLOCKVECTOR_MAP (bv) = NULL;
+ bv->set_map (nullptr);
begin = stab->blocks.front ().begin;
end = stab->blocks.front ().end;
bv->set_num_blocks (actual_nblocks);