diff options
Diffstat (limited to 'gdb/csky-tdep.c')
-rw-r--r-- | gdb/csky-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/csky-tdep.c b/gdb/csky-tdep.c index 105f5fc..a9b5391 100644 --- a/gdb/csky-tdep.c +++ b/gdb/csky-tdep.c @@ -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 |