gdb: remove SYMTAB_BLOCKVECTOR macro
Remove the macro, replace with an equivalent method. Change-Id: Id6fe2a79c04bcd6c69ccaefb7a69bc06a476288c
This commit is contained in:
parent
1ee2e9f930
commit
012cfab919
14 changed files with 32 additions and 26 deletions
|
@ -462,7 +462,7 @@ parse_exp_in_context (const char **stringptr, CORE_ADDR pc,
|
|||
struct symtab_and_line cursal = get_current_source_symtab_and_line ();
|
||||
if (cursal.symtab)
|
||||
expression_context_block
|
||||
= BLOCKVECTOR_BLOCK (SYMTAB_BLOCKVECTOR (cursal.symtab),
|
||||
= BLOCKVECTOR_BLOCK (cursal.symtab->blockvector (),
|
||||
STATIC_BLOCK);
|
||||
if (expression_context_block)
|
||||
expression_context_pc = BLOCK_ENTRY_PC (expression_context_block);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue