2004-05-10 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 10 May 2004 18:36:07 +0000 (18:36 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 10 May 2004 18:36:07 +0000 (18:36 +0000)
commitd303a6c766567886ef8ad122d6fcd4947a7a5954
tree510523ac0f935ddeeee17e21e415fca37368eb4b
parent03f4cc205ba0dd121f030bdf924ced23e90cfe33
2004-05-10  Andrew Cagney  <cagney@redhat.com>

* infrun.c (check_sigtramp2): Delete function.
(handle_inferior_event): When single stepping, and taking a
signal, set a breakpoint at the signal return address.  Delete
redundant calls to check_sigtramp2.
(insert_step_resume_breakpoint): New function.
(through_sigtramp_breakpoint, handle_inferior_event)
(follow_exec, wait_for_inferior, fetch_inferior_event)
(currently_stepping, keep_going): Delete most uses of
through_sigtramp_breakpoint, not that it should be deleted.
(delete_breakpoint_current_contents): Delete function.

Index: testsuite/ChangeLog
2004-05-10  Andrew Cagney  <cagney@redhat.com>

* gdb.base/signals.exp (signal_tests_1): Simplify "continue to
func1" and "next to 2nd alarm", kernel bug avoided.
gdb/ChangeLog
gdb/infrun.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/signals.exp