This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/RFC] new setting against auto-answer? (because "input not from terminal")


> 2008-10-24  Joel Brobecker  <brobecker@adacore.com>
> 
>         * top.c (interactive_mode_auto, interactive_mode_on)
>         (interactive_mode_off, interactive_mode_enum, interactive_mode):
>         New static globals.
>         (show_interactive_mode): New function.
>         (input_from_terminal_p): If interactive_mode is not auto, then
>         use that rather than checking the stdin settings.
>         (init_main): Add "set/show interactive-mode" command.

It didn't feel like there was a lot of interest in this feature,
so I'm not going to push it any further. Please scream if you'd
actually like to see it included in GDB - as pointed out by Tom,
I need to improve it a little bit (which I'll do for our own tree
anyways).  In the meantime, we'll keep this change local to
AdaCore's GDB.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]