forked from Imagelibrary/binutils-gdb
gdb: remove BLOCK_ENTRY_PC macro
Replace with equivalent method. Change-Id: I0e033095e7358799930775e61028b48246971a7d
This commit is contained in:
committed by
Simon Marchi
parent
086d03c91e
commit
6395b62847
@@ -2224,7 +2224,7 @@ convert_linespec_to_sals (struct linespec_state *state, linespec *ls)
|
||||
&& sym.symbol->aclass () == LOC_BLOCK)
|
||||
{
|
||||
const CORE_ADDR addr
|
||||
= BLOCK_ENTRY_PC (sym.symbol->value_block ());
|
||||
= sym.symbol->value_block ()->entry_pc ();
|
||||
|
||||
for (const auto &elem : ls->minimal_symbols)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user