2012-11-02 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Fri, 2 Nov 2012 17:57:04 +0000 (17:57 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 2 Nov 2012 17:57:04 +0000 (17:57 +0000)
commit771bc0af444a8ae839e74b0cd2d9ba62fa5ac46b
treef8a63320e0379b9e722b15f0f4f72b4b2d142f13
parentf0559fff600165f5cbdf546737217e1da3f737b8
2012-11-02  Pedro Alves  <palves@redhat.com>

Modernize.

* gdb.base/foll-vfork.exp: Use standard_testfile and
build_executable.  Pass descriptive string to untested.
(vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
(vfork_and_exec_child_follow_to_main_bp)
(vfork_and_exec_child_follow_through_step)
(tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
(do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
of send_gdb/gdb_expect.

(kill_child): New procedure.
(vfork_and_exec_child_follow_to_main_bp)
(vfork_and_exec_child_follow_through_step): Use it.
gdb/ChangeLog
gdb/testsuite/gdb.base/foll-vfork.exp