This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RCF 0/6 V2] MI notification of command option change
- From: Tom Tromey <tromey at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 27 Jul 2012 11:06:58 -0600
- Subject: Re: [RCF 0/6 V2] MI notification of command option change
- References: <1343402543-665-1-git-send-email-yao@codesourcery.com>
>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
Yao> 2. Don't emit option change of all gdb commands. We have to
Yao> set 'reporting' commands via function 'set_cmd_notify', otherwise
Yao> commands are still 'no-reporting'. I believe that frontends will
Yao> request more and more options changes, but changes of some gdb
Yao> options are useless to frontends. It is noisy to send all option
Yao> changes.
Yesterday's discussions convinced me that the best route is to report
all changes.
If it is really necessary to throttle changes, then I think there should
be a new MI command so that the MI client can specify which ones it does
or does not want to see.
Tom