Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* RFC: Warn at quit that we will kill the program
@ 2008-02-20 15:37 Daniel Jacobowitz
  2008-02-20 17:18 ` Joel Brobecker
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2008-02-20 15:37 UTC (permalink / raw)
  To: gdb-patches

Sandra noticed that GDB's exit message does not say we're about to
kill the running program.  In native debugging this is somewhat
apparent (though not completely), but not in remote debugging.

What do you think of this patch?

(Not tested yet; I see that the message appears in the testsuite, so
it will require a testsuite update.)

-- 
Daniel Jacobowitz
CodeSourcery

2008-02-20  Daniel Jacobowitz  <dan@codesourcery.com>

	* top.c (quit_confirm): Warn that we will kill the program.

Index: top.c
===================================================================
RCS file: /cvs/src/src/gdb/top.c,v
retrieving revision 1.129
diff -u -p -r1.129 top.c
--- top.c	1 Jan 2008 22:53:13 -0000	1.129
+++ top.c	20 Feb 2008 15:32:26 -0000
@@ -1212,7 +1212,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;


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-03-21 14:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-20 15:37 RFC: Warn at quit that we will kill the program Daniel Jacobowitz
2008-02-20 17:18 ` Joel Brobecker
2008-02-20 20:19 ` Michael Snyder
2008-02-21  1:50   ` Daniel Jacobowitz
2008-02-21 22:11     ` Michael Snyder
2008-03-21 14:40 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox