gdb: remove BLOCK_ENTRY_PC macro
Replace with equivalent method. Change-Id: I0e033095e7358799930775e61028b48246971a7d
This commit is contained in:
parent
086d03c91e
commit
6395b62847
17 changed files with 56 additions and 51 deletions
|
@ -487,10 +487,10 @@ get_expr_block_and_pc (CORE_ADDR *pc)
|
|||
block = BLOCKVECTOR_BLOCK (cursal.symtab->compunit ()->blockvector (),
|
||||
STATIC_BLOCK);
|
||||
if (block != NULL)
|
||||
*pc = BLOCK_ENTRY_PC (block);
|
||||
*pc = block->entry_pc ();
|
||||
}
|
||||
else
|
||||
*pc = BLOCK_ENTRY_PC (block);
|
||||
*pc = block->entry_pc ();
|
||||
|
||||
return block;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue