From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27748 invoked by alias); 19 Aug 2003 14:00:15 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27729 invoked from network); 19 Aug 2003 14:00:15 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by sources.redhat.com with SMTP; 19 Aug 2003 14:00:15 -0000 Received: from smtp.ott.qnx.com (smtp.ott.qnx.com [10.0.2.158]) by hub.ott.qnx.com (8.9.3/8.9.3) with ESMTP id JAA10369 for ; Tue, 19 Aug 2003 09:00:49 -0400 Received: (from alain@localhost) by smtp.ott.qnx.com (8.8.8/8.6.12) with UUCP id JAA18721 for gdb@sources.redhat.com; Tue, 19 Aug 2003 09:25:47 -0400 Message-Id: <200308191325.JAA18721@smtp.ott.qnx.com> Subject: Re: Machine interface To: ac131313@redhat.com (Andrew Cagney) Date: Tue, 19 Aug 2003 14:00:00 -0000 From: "Alain Magloire" Cc: jacqueslenormand@sympatico.ca (jacques), gdb@sources.redhat.com In-Reply-To: <3F422654.3080306@redhat.com> from "Andrew Cagney" at Aug 19, 2003 09:29:56 AM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2003-08/txt/msg00220.txt.bz2 > > Have a look at the -var-* commands. The testsuite is currently the best > source of examples. > In other words try: (gdb) -var-create - * b ... -var-evaluate-expression var1 Using the varobj, as shown to be more reliable. and we use -data-evaluate-expression only for hovering or quick evaluation.