* infrun.c (wait_for_inferior): Allow user to single step within
a stack dummy.
This commit is contained in:
parent
2670a1dd47
commit
c9de302ba5
2 changed files with 16 additions and 8 deletions
19
gdb/infrun.c
19
gdb/infrun.c
|
@ -888,16 +888,19 @@ wait_for_inferior ()
|
|||
do not stop. */
|
||||
|
||||
/* If this is the breakpoint at the end of a stack dummy,
|
||||
just stop silently. */
|
||||
if (PC_IN_CALL_DUMMY (stop_pc, stop_sp, stop_frame_address))
|
||||
{
|
||||
stop_print_frame = 0;
|
||||
stop_stack_dummy = 1;
|
||||
just stop silently, unless the user was doing an si/ni, in which
|
||||
case she'd better know what she's doing. */
|
||||
|
||||
if (PC_IN_CALL_DUMMY (stop_pc, stop_sp, stop_frame_address)
|
||||
&& !step_range_end)
|
||||
{
|
||||
stop_print_frame = 0;
|
||||
stop_stack_dummy = 1;
|
||||
#ifdef HP_OS_BUG
|
||||
trap_expected_after_continue = 1;
|
||||
trap_expected_after_continue = 1;
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
if (step_resume_breakpoint)
|
||||
/* Having a step-resume breakpoint overrides anything
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue