* spu-tdep.c (spu_frame_unwind_cache): Do not attempt to unwind
SP or return address if we failed to find a valid frame.
This commit is contained in:
parent
704209c00f
commit
c4891da7f9
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-09-03 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
|
* spu-tdep.c (spu_frame_unwind_cache): Do not attempt to unwind
|
||||||
|
SP or return address if we failed to find a valid frame.
|
||||||
|
|
||||||
2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
|
2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
|
||||||
|
|
||||||
* breakpoint.c (breakpoint_init_inferior): Mark as not inserted only
|
* breakpoint.c (breakpoint_init_inferior): Mark as not inserted only
|
||||||
|
|
|
@ -910,6 +910,10 @@ spu_frame_unwind_cache (struct frame_info *this_frame,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* If we didn't find a frame, we cannot determine SP / return address. */
|
||||||
|
if (info->frame_base == 0)
|
||||||
|
return info;
|
||||||
|
|
||||||
/* The previous SP is equal to the CFA. */
|
/* The previous SP is equal to the CFA. */
|
||||||
trad_frame_set_value (info->saved_regs, SPU_SP_REGNUM, info->frame_base);
|
trad_frame_set_value (info->saved_regs, SPU_SP_REGNUM, info->frame_base);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue