Browse Source

* 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.
msnyder-reverse-20080609-branch
Daniel Jacobowitz 19 years ago
parent
commit
b21991b00c
  1. 4
      gdb/ChangeLog
  2. 5
      gdb/testsuite/ChangeLog
  3. 2
      gdb/testsuite/gdb.threads/killed.exp
  4. 2
      gdb/testsuite/gdb.threads/manythreads.exp
  5. 2
      gdb/testsuite/gdb.threads/staticthreads.exp
  6. 2
      gdb/top.c

4
gdb/ChangeLog

@ -1,3 +1,7 @@
2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
* top.c (quit_confirm): Warn that we will kill the program.
2008-03-19 Pedro Alves <pedro@codesourcery.com>
* inflow.c (terminal_ours_1): Guard access to

5
gdb/testsuite/ChangeLog

@ -1,3 +1,8 @@
2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/killed.exp, gdb.threads/manythreads.exp,
gdb.threads/staticthreads.exp: Update exit query.
2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
* lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.

2
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
}

2
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
}

2
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
}

2
gdb/top.c

@ -1253,7 +1253,7 @@ quit_confirm (void)
else if (attach_flag)
s = "The program is running. Quit anyway (and detach it)? ";
else
s = "The program is running. Exit anyway? ";
s = "The program is running. Quit anyway (and kill it)? ";
if (!query ("%s", s))
return 0;

Loading…
Cancel
Save