From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32110 invoked by alias); 22 Jun 2007 07:11:33 -0000 Received: (qmail 32102 invoked by uid 22791); 22 Jun 2007 07:11:31 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 22 Jun 2007 07:11:29 +0000 Received: from kahikatea.snap.net.nz (191.63.255.123.dynamic.snap.net.nz [123.255.63.191]) by viper.snap.net.nz (Postfix) with ESMTP id 163AE3D982A; Fri, 22 Jun 2007 19:11:26 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 880408FBF6; Fri, 22 Jun 2007 19:11:21 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18043.30232.598149.954761@kahikatea.snap.net.nz> Date: Fri, 22 Jun 2007 07:11:00 -0000 To: "Sascha Radike" Cc: gdb@sourceware.org Subject: Re: BUG: MI reporting wrong attributes for casted variables In-Reply-To: <000301c7b493$5ca88a50$02b2a8c0@insanenotebook> References: <000001c7b427$5822d330$02b2a8c0@insanenotebook> <18042.56547.598273.973421@kahikatea.snap.net.nz> <000301c7b493$5ca88a50$02b2a8c0@insanenotebook> X-Mailer: VM 7.19 under Emacs 22.1.50.4 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: 2007-06/txt/msg00186.txt.bz2 > >Assigns the value of EXPRESSION to the variable object specified by > > NAME. The object must be `editable'. If the variable's value is > > I think this is pretty much what the CDT guys had in mind. They expect a var > object to be editable when it has been reported as... "editable" :). Yes, but I still don't really understand when a user would try to change the value of a cast of a variable. I would have thought that if you're making the cast then you're intending just to watch it's value. -- Nick http://www.inet.net.nz/~nickrob