From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31622 invoked by alias); 13 Sep 2011 19:54:44 -0000 Received: (qmail 31612 invoked by uid 22791); 13 Sep 2011 19:54:44 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Sep 2011 19:54:30 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p8DJsRDA018107 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 13 Sep 2011 15:54:27 -0400 Received: from host1.jankratochvil.net (ovpn-116-38.ams2.redhat.com [10.36.116.38]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p8DJsPIb026351 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Sep 2011 15:54:26 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p8DJsONP016728; Tue, 13 Sep 2011 21:54:24 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p8DJsNpV016726; Tue, 13 Sep 2011 21:54:23 +0200 Date: Tue, 13 Sep 2011 21:35:00 -0000 From: Jan Kratochvil To: Vladimir Prus Cc: gdb-patches@sourceware.org Subject: Re: [MI RFC] entryval: MI access to entry values Message-ID: <20110913195423.GB16602@host1.jankratochvil.net> References: <20110718201852.GG30496@host1.jankratochvil.net> <20110902170745.GA22738@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110902170745.GA22738@host1.jankratochvil.net> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2011-09/txt/msg00237.txt.bz2 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=""},{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=""},{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 Jan