From 24d74bb5df30de096f0271d33ab4f17434cf2c49 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 28 Jan 2022 16:18:09 -0500 Subject: gdb: remove BLOCK_MULTIDICT macro Replace with equivalent methods. Change-Id: If9a239c511a664f2a59fecb6d1cd579881b23dc2 --- gdb/jit.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/jit.c') 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; -- cgit v1.1