GDB: S12Z: Add assertion
gdb/ChangeLog: * s12z-tdep.c (s12z_frame_cache): Add an assertion.
This commit is contained in:
parent
dbe4e6545e
commit
7b5227d132
|
@ -1,3 +1,7 @@
|
|||
2018-11-19 John Darrington <john@darrington.wattle.id.au>
|
||||
|
||||
*s12z-tdep.c (s12z_frame_cache): Add an assertion.
|
||||
|
||||
2018-11-19 Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
* infrun.c (displaced_step_inferior_state) <next>: Remove.
|
||||
|
|
|
@ -320,6 +320,7 @@ s12z_frame_cache (struct frame_info *this_frame, void **prologue_cache)
|
|||
}
|
||||
else
|
||||
{
|
||||
gdb_assert (this_sp == this_sp_for_id);
|
||||
/* The stack pointer of the prev frame is frame_size greater
|
||||
than the stack pointer of this frame plus one address
|
||||
size (caused by the JSR or BSR). */
|
||||
|
|
Loading…
Reference in New Issue