diff options
author | Pedro Alves <palves@redhat.com> | 2012-11-02 18:13:37 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-11-02 18:13:37 +0000 |
commit | f50f4e56a6799a43b13f2a260aaee831bf31c9dc (patch) | |
tree | 80f89c919484501caf727dc085e16098bde9e6d9 /gdb/testsuite/gdb.base | |
parent | 71ce889da907b11ec88efa3ddc93ee1f0371f8e9 (diff) | |
download | fsf-binutils-gdb-f50f4e56a6799a43b13f2a260aaee831bf31c9dc.zip fsf-binutils-gdb-f50f4e56a6799a43b13f2a260aaee831bf31c9dc.tar.gz fsf-binutils-gdb-f50f4e56a6799a43b13f2a260aaee831bf31c9dc.tar.bz2 |
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".
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/foll-vfork.exp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.base/foll-vfork.exp b/gdb/testsuite/gdb.base/foll-vfork.exp index 9515d16..0b2eee6 100644 --- a/gdb/testsuite/gdb.base/foll-vfork.exp +++ b/gdb/testsuite/gdb.base/foll-vfork.exp @@ -164,7 +164,7 @@ proc vfork_child_follow_to_exit {} { set test "continue to child exit" gdb_test_multiple "continue" $test { -re "Couldn't get registers.*$gdb_prompt " { - setup_kfail "gdb/14766" *-*-* + # PR gdb/14766 fail "$test" } -re "Attaching after.* vfork to.*Detaching vfork parent .* after child exit.*$gdb_prompt " { @@ -369,10 +369,6 @@ proc tcatch_vfork_then_child_follow_exit {} { set test "finish" gdb_test_multiple "finish" $test { - -re "Couldn't get registers.*$gdb_prompt " { - setup_kfail "gdb/14766" *-*-* - fail "$test " - } -re "Run till exit from.*vfork.*exited normally.*$gdb_prompt " { setup_kfail "gdb/14762" *-*-* fail $test |