# static.exp -- test script, for GDB, the GNU debugger.
-# Copyright 2004, 2005, 2007, 2008, 2009 Free Software Foundation, Inc.
+# Copyright 2004, 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
strace $tracelevel
}
-set prms_id 0
-set bug_id 0
set testfile "staticthreads"
set srcfile ${testfile}.c
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
-gdb_test "set print sevenbit-strings" ""
+gdb_test_no_output "set print sevenbit-strings"
# See if the static multi-threaded program runs.
set test "GDB exits with static thread program"
gdb_test_multiple "quit" "$test" {
- -re "The program is running. Quit anyway \\(and kill it\\)\\? \\(y or n\\) $" {
+ -re "Quit anyway\\? \\(y or n\\) $" {
send_gdb "y\n"
exp_continue
}