This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch/rfc] Simplify step-over-signal, fix XFAIL: next to 2nd alarm(1) (probably kernel bug)


   Date: Sun, 09 May 2004 15:48:40 -0400
   From: Andrew Cagney <cagney@gnu.org>

   Index: ChangeLog
   2004-05-08  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.

This looks good to me.  I tested it on i386-unknown-freebsd4.7 and
x86_64-unknown-openbsd3.5, and I see the same improvements as you see
on GNU/Linux.

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]