* breakpoint.h (enum bptype): New type bp_through_sigtramp.
authorJim Kingdon <jkingdon@engr.sgi.com>
Fri, 25 Feb 1994 09:12:29 +0000 (09:12 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Fri, 25 Feb 1994 09:12:29 +0000 (09:12 +0000)
commitbcc377184156be31b11f59a95109baa6509c04b2
tree5cead4ce3431e0f9f4896fb641db624eb78dfef0
parent3fed1c4a60539e2abd3818985b4aa2899b5da355
* breakpoint.h (enum bptype): New type bp_through_sigtramp.
(bpstat_what_main_action): New code BPSTAT_WHAT_THROUGH_SIGTRAMP.
* breakpoint.c (bpstat_what): Return BPSTAT_WHAT_THROUGH_SIGTRAMP
if we hit a bp_through_sigtramp breakpoint.  Remove kludge which
ignored bs->stop for a bp_step_resume breakpoint.
* infrun.c (wait_for_inferior): Make a through_sigtramp_breakpoint
which performs one (the check_sigtramp2 one) of the functions
which had been handled by the step_resume_breakpoint.  For each
use of the step_resume_breakpoint, make it still use the
step_resume_breakpoint, use the through_sigtramp_breakpoint, or
operate on both.
Deal with BPSTAT_WHAT_THROUGH_SIGTRAMP return from bpstat_what.
When setting the frame address of the step resume breakpoint, set
it to the address for frame *before* the call instruction is
executed, not after.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/infrun.c