[gdb/testsuite] Rewrite catch-follow-exec.exp using gdb_test
authorTom de Vries <tdevries@suse.de>
Tue, 23 Oct 2018 21:54:21 +0000 (23:54 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 24 Oct 2018 11:18:04 +0000 (13:18 +0200)
commita76dc3b7705c5c85efc00521ebfac49e80c3fedf
treee0bf936c758105d23ce2027a701f2481c26c5b5f
parent4df46df7a4643c0f6f93a2739c4b7bc0e83bcdce
[gdb/testsuite] Rewrite catch-follow-exec.exp using gdb_test

The testcase catch-follow-exec.exp is written use gdb -batch in order to avoid
a GDB SIGTTOU.  After the commit of "Avoid GDB SIGTTOU on catch exec + set
follow-exec-mode new (PR 23368)", that no longer is necessary.

Rewrite the test using regular gdb_test commands.

Tested with x86_64-linux.

2018-10-24  Tom de Vries  <tdevries@suse.de>

* gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/catch-follow-exec.exp