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 3/6] attach to command_option-changed observer.


On 07/24/2012 05:10 PM, Yao Qi wrote:
> +  else if (strncmp (parse->command, "gdb-set", sizeof ("gdb-set") - 1 ) == 0)
> +    {
> +      int *p = &mi_suppress_notification[MI_SUPPRESS_COMMAND];

I honestly have trouble mapping "MI_SUPPRESS_COMMAND" to -gdb-set.

This is about =option-changed, so I think MI_SUPPRESS_OPTION_CHANGED would
be clearer.

-- 
Pedro Alves


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