aboutsummaryrefslogtreecommitdiff
path: root/gdb/jit.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-01-28 16:18:09 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2022-04-27 22:05:03 -0400
commit24d74bb5df30de096f0271d33ab4f17434cf2c49 (patch)
treeed9b5030af46d970fde9b7793680325936f320dc /gdb/jit.c
parentf135fe728e2d0a6168a8445a50a6d63547c4db2f (diff)
downloadfsf-binutils-gdb-24d74bb5df30de096f0271d33ab4f17434cf2c49.zip
fsf-binutils-gdb-24d74bb5df30de096f0271d33ab4f17434cf2c49.tar.gz
fsf-binutils-gdb-24d74bb5df30de096f0271d33ab4f17434cf2c49.tar.bz2
gdb: remove BLOCK_MULTIDICT macro
Replace with equivalent methods. Change-Id: If9a239c511a664f2a59fecb6d1cd579881b23dc2
Diffstat (limited to 'gdb/jit.c')
-rw-r--r--gdb/jit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/jit.c b/gdb/jit.c
index 1283d2e..4ff180d 100644
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -580,8 +580,8 @@ finalize_symtab (struct gdb_symtab *stab, struct objfile *objfile)
TARGET_CHAR_BIT,
"void");
- BLOCK_MULTIDICT (new_block)
- = mdict_create_linear (&objfile->objfile_obstack, NULL);
+ new_block->set_multidict
+ (mdict_create_linear (&objfile->objfile_obstack, NULL));
/* The address range. */
new_block->set_start (gdb_block_iter.begin);
new_block->set_end (gdb_block_iter.end);
@@ -618,8 +618,8 @@ finalize_symtab (struct gdb_symtab *stab, struct objfile *objfile)
new_block = (i == GLOBAL_BLOCK
? allocate_global_block (&objfile->objfile_obstack)
: allocate_block (&objfile->objfile_obstack));
- BLOCK_MULTIDICT (new_block)
- = mdict_create_linear (&objfile->objfile_obstack, NULL);
+ new_block->set_multidict
+ (mdict_create_linear (&objfile->objfile_obstack, NULL));
new_block->set_superblock (block_iter);
block_iter = new_block;