diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-03-21 14:39:23 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-03-21 14:39:23 +0000 |
commit | b21991b00cf16b94e9646a054e786c1fa4d5501a (patch) | |
tree | c3ed986846aff1ccd230c0e4ef8041672fe6640c /gdb/testsuite/gdb.threads | |
parent | bbeee7eaea4dc0c8145299850787e50172438270 (diff) | |
download | gdb-b21991b00cf16b94e9646a054e786c1fa4d5501a.zip gdb-b21991b00cf16b94e9646a054e786c1fa4d5501a.tar.gz gdb-b21991b00cf16b94e9646a054e786c1fa4d5501a.tar.bz2 |
* top.c (quit_confirm): Warn that we will kill the program.
* gdb.threads/killed.exp, gdb.threads/manythreads.exp,
gdb.threads/staticthreads.exp: Update exit query.
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r-- | gdb/testsuite/gdb.threads/killed.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.threads/manythreads.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.threads/staticthreads.exp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.threads/killed.exp b/gdb/testsuite/gdb.threads/killed.exp index 167e060..9633dfb 100644 --- a/gdb/testsuite/gdb.threads/killed.exp +++ b/gdb/testsuite/gdb.threads/killed.exp @@ -87,7 +87,7 @@ gdb_expect { # Try to quit. send_gdb "quit\n" gdb_expect { - -re "The program is running. Exit anyway\\? \\(y or n\\) $" { + -re "The program is running. Quit anyway \\(and kill it\\)\\? \\(y or n\\) $" { send_gdb "y\n" exp_continue } diff --git a/gdb/testsuite/gdb.threads/manythreads.exp b/gdb/testsuite/gdb.threads/manythreads.exp index 182aa6f..a92d049 100644 --- a/gdb/testsuite/gdb.threads/manythreads.exp +++ b/gdb/testsuite/gdb.threads/manythreads.exp @@ -133,7 +133,7 @@ gdb_test_multiple "" "stop threads 2" { } gdb_test_multiple "quit" "GDB exits after stopping multithreaded program" { - -re "The program is running. Exit anyway\\? \\(y or n\\) $" { + -re "The program is running. Quit anyway \\(and kill it\\)\\? \\(y or n\\) $" { send_gdb "y\n" exp_continue } diff --git a/gdb/testsuite/gdb.threads/staticthreads.exp b/gdb/testsuite/gdb.threads/staticthreads.exp index 95b8d24..6453e0b 100644 --- a/gdb/testsuite/gdb.threads/staticthreads.exp +++ b/gdb/testsuite/gdb.threads/staticthreads.exp @@ -91,7 +91,7 @@ gdb_test_multiple "info threads" "$test" { set test "GDB exits with static thread program" gdb_test_multiple "quit" "$test" { - -re "The program is running. Exit anyway\\? \\(y or n\\) $" { + -re "The program is running. Quit anyway \\(and kill it\\)\\? \\(y or n\\) $" { send_gdb "y\n" exp_continue } |