This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/RFC] new setting against auto-answer? (because "input not from terminal")
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 25 Oct 2008 07:56:21 -0600
- Subject: Re: [RFA/RFC] new setting against auto-answer? (because "input not from terminal")
- References: <20081025010445.GC29038@adacore.com>
- Reply-to: tromey at redhat dot com
>>>>> "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