From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12023 invoked by alias); 29 Jul 2013 09:33:37 -0000 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 Received: (qmail 12009 invoked by uid 89); 29 Jul 2013 09:33:37 -0000 X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_20,FROM_12LTRDOM,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE autolearn=no version=3.3.1 Received: from Unknown (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 29 Jul 2013 09:33:36 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1V3jpZ-0006hw-9h from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Mon, 29 Jul 2013 02:33:29 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 29 Jul 2013 02:33:29 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.2.247.3; Mon, 29 Jul 2013 02:33:27 -0700 Message-ID: <51F636B9.5050408@codesourcery.com> Date: Mon, 29 Jul 2013 09:33:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Subject: [ping]: [PATCH 0/2] New option --skip-unavailable to -stack-list-XXX commands References: <1372816106-15942-1-git-send-email-yao@codesourcery.com> In-Reply-To: <1372816106-15942-1-git-send-email-yao@codesourcery.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2013-07/txt/msg00698.txt.bz2 On 07/03/2013 09:48 AM, Yao Qi wrote: > Hi, > This patch series add new option '--skip-unavailable' to MI commands > '-stack-list-{locals, arguments, variables}'. This option is optional, > and when it is used, locals or arguments whose values are not available > are not listed. It is useful when the MI front-end is not interested in > unavailable values. > > The patch 1/2 is a refactor patch, use mi_getopt in > mi_cmd_stack_list_locals and mi_cmd_stack_list_variables, so it is > easier to add new option patch 2/2. Patch 2/2 is the major part of this > series. > > Regression tested on x86_64-linux. > > Note that this patch is for MI, but the idea that skipping unavailable > locals and arguments can be applied to CLI too. We can invent new CLI > commands on top of 'info locals' and 'info args' to display available > locals or arguments. This piece of work is not included in this > series. Ping. http://sourceware.org/ml/gdb-patches/2013-07/msg00101.html -- Yao (齐尧)