From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4462 invoked by alias); 14 Sep 2011 07:18:07 -0000 Received: (qmail 4316 invoked by uid 22791); 14 Sep 2011 07:18:06 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from lvk-gate.cmc.msu.ru (HELO mail.lvk.cs.msu.su) (212.192.248.233) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 14 Sep 2011 07:17:51 +0000 Received: from mail.lvk.cs.msu.su (localhost [127.0.0.1]) by mail.lvk.cs.msu.su (Postfix) with ESMTP id 2881E10EF; Wed, 14 Sep 2011 11:17:45 +0400 (MSD) X-Spam-ASN: Received: from thunder.localnet (h86-62-88-129.ln.rinet.ru [86.62.88.129]) by mail.lvk.cs.msu.su (Postfix) with ESMTPSA id E942DDC0; Wed, 14 Sep 2011 11:17:44 +0400 (MSD) From: Vladimir Prus To: Jan Kratochvil Subject: Re: [MI RFC] entryval: MI access to entry values Date: Wed, 14 Sep 2011 08:50:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-11-generic-pae; KDE/4.6.2; i686; ; ) Cc: gdb-patches@sourceware.org References: <20110718201852.GG30496@host1.jankratochvil.net> <20110902170745.GA22738@host1.jankratochvil.net> <20110913195423.GB16602@host1.jankratochvil.net> In-Reply-To: <20110913195423.GB16602@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201109141117.42848.vladimir@codesourcery.com> X-AV-Checked: ClamAV using ClamSMTP 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: 2011-09/txt/msg00244.txt.bz2 On Tuesday, September 13, 2011 23:54:23 Jan Kratochvil wrote: > On Fri, 02 Sep 2011 19:07:45 +0200, Jan Kratochvil wrote: > > (1) > > so I am inclined to just produce these MI records (which normal and > > @entry variable variants get included depends on `-gdb-set print > > entry-values' like in CLI): > > > > print_frame_args: > > *stopped,[...],args=[{name="lost",value=" > out>"},{name="lost@entry",value="5"},{name="born",value="10"}],[...] > > > > list_args_or_locals: > > -stack-list-variables --all-values > > ^done,variables=[{name="lost",arg="1",value=" > out>"},{name="lost@entry",arg="1",value="5"},{name="born",arg="1",value > > ="10"}] > > FYI chosen this variant in: > [patch 07/12+doc] entryval#2: Display @entry parameters > http://sourceware.org/ml/gdb-patches/2011-09/msg00229.html Sorry for not responding earlier. This approach certianly looks best for existing frontneds. Thanks, -- Vladimir Prus CodeSourcery / Mentor Graphics +7 (812) 677-68-40