forked from Imagelibrary/binutils-gdb
gdb: remove BLOCK_FUNCTION macro
Replace with equivalent methods. Change-Id: I31ec00f5bf85335c8b23d306ca0fe0b84d489101
This commit is contained in:
committed by
Simon Marchi
parent
4b8791e10e
commit
6c00f721c8
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user