* infrun.c (handle_inferior_event): When handling a fork or vfork
authorPedro Alves <palves@redhat.com>
Sun, 15 Nov 2009 20:10:34 +0000 (20:10 +0000)
committerPedro Alves <palves@redhat.com>
Sun, 15 Nov 2009 20:10:34 +0000 (20:10 +0000)
commit678229626ec8f1a0d0d5c494335c05e9d0b52832
tree50c327ad9c91dcaab7a2e4c49d4b57c31dc9deb2
parent56710373a0ab471d0891ad49b5c2a70f53cfc00d
* infrun.c (handle_inferior_event): When handling a fork or vfork
event, check if the bpstat causes a stop, instead of if it
explains the signal.
* breakpoint.c (bpstat_causes_stop): New.
* breakpoint.h (bpstat_causes_stop): Declare.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/infrun.c