aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/step-over-exit.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/step-over-exit.exp')
-rw-r--r--gdb/testsuite/gdb.base/step-over-exit.exp7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/step-over-exit.exp b/gdb/testsuite/gdb.base/step-over-exit.exp
index 2370f97..6dfa7bb 100644
--- a/gdb/testsuite/gdb.base/step-over-exit.exp
+++ b/gdb/testsuite/gdb.base/step-over-exit.exp
@@ -13,11 +13,14 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-standard_testfile
-
# Test a thread is doing step-over a syscall instruction which is exit,
# and GDBserver should cleanup its state of step-over properly.
+# The testcase relies on follow-fork-mode child.
+require allow_fork_tests
+
+standard_testfile
+
set syscall_insn ""
# Define the syscall instruction for each target.