This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/6] new add_setshow_enum_cmd_with_notif and scheduler-locking.
>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
Yao> 2012-07-23 Yao Qi <yao@codesourcery.com>
Yao> * cli/cli-decode.c (add_setshow_enum_cmd_with_notif): New.
Yao> * command.h: Declare.
Yao> * infrun.c (_initialize_infrun): Call
Yao> add_setshow_enum_cmd_with_notif.
This part seems fine, though of course pending on the earlier patch and
discussion about the overall approach.
I wish there were a nice way to do without yet another
command-registration function. We already have a dizzying variety.
Yao> +set testfile "basics"
Yao> +set srcfile ${testfile}.c
Yao> +set binfile ${objdir}/${subdir}/mi-cmd-opt-changed
Please use standard_testfile now.
Tom