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: [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


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