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")


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> +static const char *interactive_mode_enum[] =
Joel> +{
Joel> +  interactive_mode_auto,
Joel> +  interactive_mode_on,
Joel> +  interactive_mode_off,
Joel> +  NULL
Joel> +};

Joel> +  add_setshow_enum_cmd ("interactive-mode", class_support,

I think you could use var_auto_boolean instead of var_enum here.

Tom


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