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/mdebugread.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/mdebugread.c')
-rw-r--r-- | gdb/mdebugread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 1565a86..87d2fb1 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -797,7 +797,7 @@ parse_symbol (SYMR *sh, union aux_ext *ax, char *ext_sh, int bigend, /* Create and enter a new lexical context. */ b = new_block (FUNCTION_BLOCK, s->language ()); s->set_value_block (b); - BLOCK_FUNCTION (b) = s; + b->set_function (s); b->set_start (sh->value); b->set_end (sh->value); BLOCK_SUPERBLOCK (b) = top_stack->cur_block; |