From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18400 invoked by alias); 20 Feb 2006 07:28:36 -0000 Received: (qmail 18391 invoked by uid 22791); 20 Feb 2006 07:28:36 -0000 X-Spam-Check-By: sourceware.org Received: from zigzag.lvk.cs.msu.su (HELO zigzag.lvk.cs.msu.su) (158.250.17.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 20 Feb 2006 07:28:34 +0000 Received: from Debian-exim by zigzag.lvk.cs.msu.su with spam-scanned (Exim 4.50) id 1FB5TD-0006xk-QK for gdb@sources.redhat.com; Mon, 20 Feb 2006 10:28:32 +0300 Received: from zigzag.lvk.cs.msu.su ([158.250.17.23]) by zigzag.lvk.cs.msu.su with esmtp (Exim 4.50) id 1FB5T3-0006xH-Ab; Mon, 20 Feb 2006 10:28:21 +0300 From: Vladimir Prus To: Eli Zaretskii Subject: Re: MI: type prefixes for values Date: Mon, 20 Feb 2006 13:47:00 -0000 User-Agent: KMail/1.7.2 Cc: Jim Ingham , drow@false.org, gdb@sources.redhat.com References: <200602171724.03824.ghost@cs.msu.su> <3D09ADF2-5A80-4B42-B4DE-2A2861C3A2AA@apple.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602201028.20481.ghost@cs.msu.su> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00267.txt.bz2 On Saturday 18 February 2006 13:56, Eli Zaretskii wrote: > > In Xcode, we do use -data-evaluate-expression, but only when we are > > doing function calls where we know the call we are making and what to > > expect back. In this case the overhead of the variable object is not > > worth the trouble. Other than that, we use varobj's... > > Jim, how about if you (and everyone else who has working knowledge of > using MI in front ends) write a section for the GDB manual with > various do's and dont's, such as those you mention above? I think > this would be a useful addition to the manual, one that could > significantly boost developers' readiness to switch to MI and use it > wisely. Right now, every one of them needs to discover this on their > own. Seconded. Specifically, the introduction to variables object section is hopelessy unclear at the moment. If somebody could put up a short explanation why they are good, and what's the best way to use them, this will be great. - Volodya