mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 00:32:30 +08:00
* infrun.c (wait_for_inferior): Allow user to single step within
a stack dummy.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Thu Sep 16 13:16:22 1993 Stu Grossman (grossman at cygnus.com)
|
||||||
|
|
||||||
|
* infrun.c (wait_for_inferior): Allow user to single step within
|
||||||
|
a stack dummy.
|
||||||
|
|
||||||
Thu Sep 16 12:34:01 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
|
Thu Sep 16 12:34:01 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
|
||||||
|
|
||||||
* dbxread.c (copy_pending): Deal with END NULL.
|
* dbxread.c (copy_pending): Deal with END NULL.
|
||||||
|
19
gdb/infrun.c
19
gdb/infrun.c
@ -888,16 +888,19 @@ wait_for_inferior ()
|
|||||||
do not stop. */
|
do not stop. */
|
||||||
|
|
||||||
/* If this is the breakpoint at the end of a stack dummy,
|
/* If this is the breakpoint at the end of a stack dummy,
|
||||||
just stop silently. */
|
just stop silently, unless the user was doing an si/ni, in which
|
||||||
if (PC_IN_CALL_DUMMY (stop_pc, stop_sp, stop_frame_address))
|
case she'd better know what she's doing. */
|
||||||
{
|
|
||||||
stop_print_frame = 0;
|
if (PC_IN_CALL_DUMMY (stop_pc, stop_sp, stop_frame_address)
|
||||||
stop_stack_dummy = 1;
|
&& !step_range_end)
|
||||||
|
{
|
||||||
|
stop_print_frame = 0;
|
||||||
|
stop_stack_dummy = 1;
|
||||||
#ifdef HP_OS_BUG
|
#ifdef HP_OS_BUG
|
||||||
trap_expected_after_continue = 1;
|
trap_expected_after_continue = 1;
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (step_resume_breakpoint)
|
if (step_resume_breakpoint)
|
||||||
/* Having a step-resume breakpoint overrides anything
|
/* Having a step-resume breakpoint overrides anything
|
||||||
|
Reference in New Issue
Block a user