forked from Imagelibrary/binutils-gdb
gdb: remove BLOCK_{START,END} macros
Replace with equivalent methods. Change-Id: I10a6c8a2a86462d9d4a6a6409a3f07a6bea66310
This commit is contained in:
committed by
Simon Marchi
parent
dfb138f934
commit
4b8791e10e
@@ -102,7 +102,7 @@ find_proc_desc (CORE_ADDR pc)
|
||||
CORE_ADDR startaddr;
|
||||
find_pc_partial_function (pc, &sh_name, &startaddr, NULL);
|
||||
|
||||
if (startaddr > BLOCK_START (b))
|
||||
if (startaddr > b->start ())
|
||||
/* This is the "pathological" case referred to in a comment in
|
||||
print_frame_info. It might be better to move this check into
|
||||
symbol reading. */
|
||||
|
||||
Reference in New Issue
Block a user