2012-11-02 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Fri, 2 Nov 2012 17:57:45 +0000 (17:57 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 2 Nov 2012 17:57:45 +0000 (17:57 +0000)
commit43ae8f0101cda91a1d34e00ebce2a3b67d678cdb
treefc4361300b2162086cb7bd35682ae0f83ec0ec85
parent771bc0af444a8ae839e74b0cd2d9ba62fa5ac46b
2012-11-02  Pedro Alves  <palves@redhat.com>

Don't hard code line numbers.

* gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
Expect text from the sources instead of a line number.
(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):
Use gdb_get_line_number.
gdb/ChangeLog
gdb/testsuite/gdb.base/foll-vfork.exp