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/f-valprint.c | |
parent | 4b8791e10e574d3279e6783b58556893b0c92853 (diff) | |
download | gdb-6c00f721c834e2c622eb995a58f02900b6d98574.zip gdb-6c00f721c834e2c622eb995a58f02900b6d98574.tar.gz gdb-6c00f721c834e2c622eb995a58f02900b6d98574.tar.bz2 |
gdb: remove BLOCK_FUNCTION macro
Replace with equivalent methods.
Change-Id: I31ec00f5bf85335c8b23d306ca0fe0b84d489101
Diffstat (limited to 'gdb/f-valprint.c')
-rw-r--r-- | gdb/f-valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c index 4f95b22..f977d8c 100644 --- a/gdb/f-valprint.c +++ b/gdb/f-valprint.c @@ -688,7 +688,7 @@ info_common_command (const char *comname, int from_tty) info_common_command_for_block (block, comname, &values_printed); /* After handling the function's top-level block, stop. Don't continue to its superblock, the block of per-file symbols. */ - if (BLOCK_FUNCTION (block)) + if (block->function ()) break; block = BLOCK_SUPERBLOCK (block); } |