* blockframe.c (frame_saved_regs_register_unwind): Revise

PC_IN_CALL_DUMMY assertion to only apply when generic dummy
	frames are in use.
This commit is contained in:
Kevin Buettner 2002-08-09 18:26:15 +00:00
parent 3c3bea1c7e
commit fbcdb4a3f0
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-08-09 Kevin Buettner <kevinb@redhat.com>
* blockframe.c (frame_saved_regs_register_unwind): Revise
PC_IN_CALL_DUMMY assertion to only apply when generic dummy
frames are in use.
2002-08-09 Grace Sainsbury <graces@redhat.com>
* remote.c: (remote_wait, remote_async_wait): Add check for awatch

View File

@ -1410,7 +1410,11 @@ frame_saved_regs_register_unwind (struct frame_info *frame, void **cache,
/* There is always a frame at this point. And THIS is the frame
we're interested in. */
gdb_assert (frame != NULL);
gdb_assert (!PC_IN_CALL_DUMMY (frame->pc, frame->frame, frame->frame));
/* If we're using generic dummy frames, we'd better not be in a call
dummy. (generic_call_dummy_register_unwind ought to have been called
instead.) */
gdb_assert (!(USE_GENERIC_DUMMY_FRAMES
&& PC_IN_CALL_DUMMY (frame->pc, frame->frame, frame->frame)));
/* Load the saved_regs register cache. */
if (frame->saved_regs == NULL)