2012-11-02 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Fri, 2 Nov 2012 18:02:01 +0000 (18:02 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 2 Nov 2012 18:02:01 +0000 (18:02 +0000)
commit39c1263a21c798615b29e0a82d7020a2492d4fe8
treeab8ba1b0ff11d522deb92a25f7ec5a6e95e73f83
parent339aeac6e5a4a67883ebe1bf15e9297c6745953c
2012-11-02  Pedro Alves  <palves@redhat.com>

* gdb.base/foll-vfork.exp (setup_gdb): New procedure.
(check_vfork_catchpoints, vfork_parent_follow_through_step)
(vfork_parent_follow_to_bp): Call it.
(kill_child): Delete.
(vfork_and_exec_child_follow_to_main_bp)
(vfork_and_exec_child_follow_through_step): Call setup_gdb.  No
longer call kill_child.
(tcatch_vfork_then_parent_follow): Call setup_gdb.
(do_vfork_and_exec_tests): Don't runto_main before calling each
test procedure.
(top level): Don't clean restart and set verbose before running
each test procedure.
gdb/ChangeLog
gdb/testsuite/gdb.base/foll-vfork.exp