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/symmisc.c | |
parent | f135fe728e2d0a6168a8445a50a6d63547c4db2f (diff) | |
download | binutils-24d74bb5df30de096f0271d33ab4f17434cf2c49.zip binutils-24d74bb5df30de096f0271d33ab4f17434cf2c49.tar.gz binutils-24d74bb5df30de096f0271d33ab4f17434cf2c49.tar.bz2 |
gdb: remove BLOCK_MULTIDICT macro
Replace with equivalent methods.
Change-Id: If9a239c511a664f2a59fecb6d1cd579881b23dc2
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r-- | gdb/symmisc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c index e49322c..3699e82 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -294,7 +294,7 @@ dump_symtab_1 (struct symtab *symtab, struct ui_file *outfile) even if we're using a hashtable, but nothing else but this message wants it. */ gdb_printf (outfile, ", %d syms/buckets in ", - mdict_size (BLOCK_MULTIDICT (b))); + mdict_size (b->multidict ())); gdb_puts (paddress (gdbarch, b->start ()), outfile); gdb_printf (outfile, ".."); gdb_puts (paddress (gdbarch, b->end ()), outfile); @@ -312,7 +312,7 @@ dump_symtab_1 (struct symtab *symtab, struct ui_file *outfile) /* Now print each symbol in this block (in no particular order, if we're using a hashtable). Note that we only want this block, not any blocks from included symtabs. */ - ALL_DICT_SYMBOLS (BLOCK_MULTIDICT (b), miter, sym) + ALL_DICT_SYMBOLS (b->multidict (), miter, sym) { try { |