From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21222 invoked by alias); 3 Apr 2008 13:33:13 -0000 Received: (qmail 21213 invoked by uid 22791); 3 Apr 2008 13:33:12 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 03 Apr 2008 13:32:53 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 81E45983BE; Thu, 3 Apr 2008 13:32:51 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 6BF7598278; Thu, 3 Apr 2008 13:32:51 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JhPYg-0004yd-OG; Thu, 03 Apr 2008 09:32:50 -0400 Date: Thu, 03 Apr 2008 13:33:00 -0000 From: Daniel Jacobowitz To: Bogdan Slusarczyk Cc: gdb@sourceware.org Subject: Re: [gdb 6.7.1/6.8] does '-var-create - @' work or not? Message-ID: <20080403133250.GA19115@caradoc.them.org> Mail-Followup-To: Bogdan Slusarczyk , gdb@sourceware.org References: <47F4D97B.8060400@op.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47F4D97B.8060400@op.pl> User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00020.txt.bz2 On Thu, Apr 03, 2008 at 03:19:55PM +0200, Bogdan Slusarczyk wrote: > I thought that created var objects using '-var-create - @' can be updated > in another frame. But it doesn't work, -var-evaluate-expression returns > wrong value. On the other hand 'print' returns right values. Or maybe I > did something wrong? My sequence: -var-create at the begining, and next > -var-update and -var-evaluate-expression in another frames. Please add some additional details: what version of GDB is this, and what were the exact commands and output in the MI session? -- Daniel Jacobowitz CodeSourcery