gdb/
authorPedro Alves <palves@redhat.com>
Fri, 2 Nov 2012 18:13:37 +0000 (18:13 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 2 Nov 2012 18:13:37 +0000 (18:13 +0000)
commitf50f4e56a6799a43b13f2a260aaee831bf31c9dc
tree80f89c919484501caf727dc085e16098bde9e6d9
parent71ce889da907b11ec88efa3ddc93ee1f0371f8e9
gdb/
2012-11-02  Pedro Alves  <palves@redhat.com>

PR gdb/14766

* infrun.c (handle_inferior_event)
<TARGET_WAITKIND_EXITED/TARGET_WAITKIND_SIGNALLED>: Switch to
null_ptid before handling a vfork child exec or exit.  Switch to
the event ptid afterwards.

gdb/testsuite/
2012-11-02  Pedro Alves  <palves@redhat.com>

PR gdb/14766

* gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
setup_kfail.
(tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
get registers".
gdb/ChangeLog
gdb/infrun.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/foll-vfork.exp