From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31806 invoked by alias); 3 Aug 2012 11:30:57 -0000 Received: (qmail 31794 invoked by uid 22791); 3 Aug 2012 11:30:56 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 03 Aug 2012 11:30:41 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M8600100FXLLY00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Fri, 03 Aug 2012 14:30:39 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M8600083FZ3HIN0@a-mtaout22.012.net.il>; Fri, 03 Aug 2012 14:30:39 +0300 (IDT) Date: Fri, 03 Aug 2012 11:30:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 2/3] attach to command_param_changed observer. In-reply-to: <1343992904-9375-3-git-send-email-yao@codesourcery.com> To: Yao Qi Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83lihwb4bp.fsf@gnu.org> References: <1343992904-9375-1-git-send-email-yao@codesourcery.com> <1343992904-9375-3-git-send-email-yao@codesourcery.com> 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-08/txt/msg00104.txt.bz2 > From: Yao Qi > Date: Fri, 3 Aug 2012 19:21:43 +0800 > > 'mi_suppress_breakpoint_notifications' is used to suppress mi > breakpoint notifications. This patch is to change this variable > to an array so that multiple mi notifications can be suppressed. > The following patch will use it to suppress other MI notifications. > > This patch is to attach function 'mi_command_param_changed' to > observer 'command_param_changed', so that a MI notification > "=cmd-param-changed" is sent to MI frontend. If the command param > change is requested from MI, the notification is suppressed. > > Compared with V2, V3 has the following changes, > > - Rename MI notification to "=cmd-param-changed". > - Update doc especially for multi-word commands. > - Rename some functions from "optoin" to "param". OK for the documentation parts. Thanks.