mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
gdb: remove SYMTAB_BLOCKVECTOR macro
Remove the macro, replace with an equivalent method. Change-Id: Id6fe2a79c04bcd6c69ccaefb7a69bc06a476288c
This commit is contained in:
@ -484,7 +484,7 @@ get_expr_block_and_pc (CORE_ADDR *pc)
|
||||
struct symtab_and_line cursal = get_current_source_symtab_and_line ();
|
||||
|
||||
if (cursal.symtab)
|
||||
block = BLOCKVECTOR_BLOCK (SYMTAB_BLOCKVECTOR (cursal.symtab),
|
||||
block = BLOCKVECTOR_BLOCK (cursal.symtab->blockvector (),
|
||||
STATIC_BLOCK);
|
||||
if (block != NULL)
|
||||
*pc = BLOCK_ENTRY_PC (block);
|
||||
|
Reference in New Issue
Block a user