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 1/6] new observer command_option_changed.


>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

Yao> +	      if (c->notify_observer_p)
Yao> +		observer_notify_command_option_changed (c->name, arg);

Last night I realized that this does the wrong thing for multi-word
parameters.  E.g., for "set print elements", the MI client will just see
"elements".

Tom


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