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
@@ -1839,7 +1839,7 @@ csky_frame_unwind_cache (struct frame_info *this_frame)
|
||||
/* Get the (function) symbol matching prologue_start. */
|
||||
bl = block_for_pc (prologue_start);
|
||||
if (bl != NULL)
|
||||
func_size = bl->endaddr - bl->startaddr;
|
||||
func_size = bl->end () - bl->start ();
|
||||
else
|
||||
{
|
||||
struct bound_minimal_symbol msymbol
|
||||
|
||||
Reference in New Issue
Block a user