aboutsummaryrefslogtreecommitdiff
path: root/gdb/mdebugread.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/mdebugread.c
parentf135fe728e2d0a6168a8445a50a6d63547c4db2f (diff)
downloadgdb-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/mdebugread.c')
-rw-r--r--gdb/mdebugread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index ddf3cd5..cd24296 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -4489,7 +4489,7 @@ static void
add_symbol (struct symbol *s, struct symtab *symtab, struct block *b)
{
s->set_symtab (symtab);
- mdict_add_symbol (BLOCK_MULTIDICT (b), s);
+ mdict_add_symbol (b->multidict (), s);
}
/* Add a new block B to a symtab S. */
@@ -4733,9 +4733,9 @@ new_block (enum block_type type, enum language language)
struct block *retval = XCNEW (struct block);
if (type == FUNCTION_BLOCK)
- BLOCK_MULTIDICT (retval) = mdict_create_linear_expandable (language);
+ retval->set_multidict (mdict_create_linear_expandable (language));
else
- BLOCK_MULTIDICT (retval) = mdict_create_hashed_expandable (language);
+ retval->set_multidict (mdict_create_hashed_expandable (language));
return retval;
}