diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-01-28 11:19:50 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-04-27 22:05:03 -0400 |
commit | 6c00f721c834e2c622eb995a58f02900b6d98574 (patch) | |
tree | 5eed7fcd03403d92fa6c0297582b94d1b74358fe /gdb/symmisc.c | |
parent | 4b8791e10e574d3279e6783b58556893b0c92853 (diff) | |
download | binutils-gdb-6c00f721c834e2c622eb995a58f02900b6d98574.tar.gz |
gdb: remove BLOCK_FUNCTION macro
Replace with equivalent methods.
Change-Id: I31ec00f5bf85335c8b23d306ca0fe0b84d489101
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r-- | gdb/symmisc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c index 097dc2dd355..1dd747d5386 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -298,14 +298,14 @@ dump_symtab_1 (struct symtab *symtab, struct ui_file *outfile) gdb_puts (paddress (gdbarch, b->start ()), outfile); gdb_printf (outfile, ".."); gdb_puts (paddress (gdbarch, b->end ()), outfile); - if (BLOCK_FUNCTION (b)) + if (b->function ()) { gdb_printf (outfile, ", function %s", - BLOCK_FUNCTION (b)->linkage_name ()); - if (BLOCK_FUNCTION (b)->demangled_name () != NULL) + b->function ()->linkage_name ()); + if (b->function ()->demangled_name () != NULL) { gdb_printf (outfile, ", %s", - BLOCK_FUNCTION (b)->demangled_name ()); + b->function ()->demangled_name ()); } } gdb_printf (outfile, "\n"); |