]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* top.c (quit_confirm): Warn that we will kill the program.
authorDaniel Jacobowitz <drow@false.org>
Fri, 21 Mar 2008 14:39:23 +0000 (14:39 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 21 Mar 2008 14:39:23 +0000 (14:39 +0000)
* gdb.threads/killed.exp, gdb.threads/manythreads.exp,
gdb.threads/staticthreads.exp: Update exit query.

gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/killed.exp
gdb/testsuite/gdb.threads/manythreads.exp
gdb/testsuite/gdb.threads/staticthreads.exp
gdb/top.c

index 85b76fea348eacf7961b7574ae9c4de7163574b1..638b8d97fc07f3ed75947c1ef1fcdd4275b562c1 100644 (file)
@@ -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
index 30fba7025fef486980e32b6b18b8bc7bc17bc2fd..3e5f8676602ba4b62cba6c5beb45da6d1aeed490 100644 (file)
@@ -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.
index 167e060d55024f18a8ea0745a996322263d8d884..9633dfbb8c7598732a4f40f0c485c6c9ba159567 100644 (file)
@@ -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
     }
index 182aa6fdb5fed7910facb0f4cd89a29236fb2494..a92d049b63ee1f27d02d748381095d75b2a7bf9f 100644 (file)
@@ -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
     }
index 95b8d24f23be715719d0777f5e8c94ecf782575c..6453e0b6fe2cf6ea894fbfd7edb53e13f482b139 100644 (file)
@@ -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
     }
index 379f0b72b547f01f02939a26d467247011d64dd7..418ff8e95f07f7099fcc0a6faeb2e7fdbddce4e6 100644 (file)
--- a/gdb/top.c
+++ b/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;