* gdbinit: supress quit prompt
@ 2011-06-12 3:51 Jeffrey Walton
2011-06-12 9:02 ` Matt Rice
0 siblings, 1 reply; 3+ messages in thread
From: Jeffrey Walton @ 2011-06-12 3:51 UTC (permalink / raw)
To: GDB Users
Hi All,
What should be added to gdbinit to suppress the message, "The program
is running. Exit anyway? (y or n)".
My apologies - I'm getting endless noise from Google.
Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdbinit: supress quit prompt
2011-06-12 3:51 gdbinit: supress quit prompt Jeffrey Walton
@ 2011-06-12 9:02 ` Matt Rice
2011-06-12 16:54 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Matt Rice @ 2011-06-12 9:02 UTC (permalink / raw)
To: noloader; +Cc: GDB Users
On Sat, Jun 11, 2011 at 8:51 PM, Jeffrey Walton <noloader@gmail.com> wrote:
> Hi All,
>
> What should be added to gdbinit to suppress the message, "The program
> is running. Exit anyway? (y or n)".
>
> My apologies - I'm getting endless noise from Google.
>
> Jeff
>
set confirm off
(note that this disables more than just quit confirmation).
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdbinit: supress quit prompt
2011-06-12 9:02 ` Matt Rice
@ 2011-06-12 16:54 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2011-06-12 16:54 UTC (permalink / raw)
To: Matt Rice; +Cc: noloader, gdb
> Date: Sun, 12 Jun 2011 02:01:47 -0700
> From: Matt Rice <ratmice@gmail.com>
> Cc: GDB Users <gdb@sourceware.org>
>
> set confirm off
> (note that this disables more than just quit confirmation).
But one could define a hook-quit command to turn off confirm, and then
it will only affect that single "quit" and nothing else. Right?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-12 16:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-12 3:51 gdbinit: supress quit prompt Jeffrey Walton
2011-06-12 9:02 ` Matt Rice
2011-06-12 16:54 ` Eli Zaretskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox