diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-01-28 16:18:09 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-04-27 22:05:03 -0400 |
commit | 24d74bb5df30de096f0271d33ab4f17434cf2c49 (patch) | |
tree | ed9b5030af46d970fde9b7793680325936f320dc /gdb/jit.c | |
parent | f135fe728e2d0a6168a8445a50a6d63547c4db2f (diff) | |
download | gdb-24d74bb5df30de096f0271d33ab4f17434cf2c49.zip gdb-24d74bb5df30de096f0271d33ab4f17434cf2c49.tar.gz 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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |