From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21230 invoked by alias); 27 Jul 2012 14:06:11 -0000 Received: (qmail 21221 invoked by uid 22791); 27 Jul 2012 14:06:10 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FROM_12LTRDOM,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Jul 2012 14:05:37 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1SulAf-0006Jd-7G from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Fri, 27 Jul 2012 07:05:37 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 27 Jul 2012 07:05:36 -0700 Received: from qiyao.dyndns.org.dyndns.org (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.1.289.1; Fri, 27 Jul 2012 07:05:35 -0700 From: Yao Qi To: Subject: [RCF 0/6 V2] MI notification of command option change Date: Fri, 27 Jul 2012 14:06:00 -0000 Message-ID: <1343397901-15051-1-git-send-email-yao@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-07/txt/msg00676.txt.bz2 1. Kee the command-registration functions unchanged (discard my xxx_wit_notif functions). 2. Don't emit option change of *all* gdb commands. We have to set 'reporting' commands via function 'set_cmd_notify', otherwise commands are still 'no-reporting'. I believe that frontends will request more and more options changes, but changes of some gdb options are useless to frontends. It is noisy to send all option changes. Tom and Pedro's review comments are addressed in this version.