From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19104 invoked by alias); 11 Jul 2007 07:10:03 -0000 Received: (qmail 19017 invoked by uid 22791); 11 Jul 2007 07:10:02 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Jul 2007 07:09:55 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1I8WKY-0002g0-41 for gdb-patches@sources.redhat.com; Wed, 11 Jul 2007 09:09:46 +0200 Received: from 241-246.umostel.ru ([77.246.241.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jul 2007 09:09:46 +0200 Received: from ghost by 241-246.umostel.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jul 2007 09:09:46 +0200 To: gdb-patches@sources.redhat.com From: Vladimir Prus Subject: Re: [MI] lvalues and variable_editable Date: Wed, 11 Jul 2007 07:10:00 -0000 Message-ID: References: <18048.64048.398970.186217@kahikatea.snap.net.nz> <200707102114.31334.ghost@cs.msu.su> <18068.12759.961280.457617@kahikatea.snap.net.nz> <200707111045.47111.ghost@cs.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.4 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: 2007-07/txt/msg00170.txt.bz2 Vladimir Prus wrote: > Clearly, gdb does not like assigning to F.public.i, and I'm pretty sure > it's because VALUE_LVAL for that varobj returns false. Naturally, it's > reasonable to expect to have F.public.i marked as non-editable, so that > frontend won't even let the user to assign a value. I don't think your > patch will do that. > > It should be noted that update of F, above, is broken, but it's broken in > an unrelated way. To clarify, I was able to get gdb to crash, but it appears that requires creating variable object before actually starting the program, and cannot reproduce the crash at will. Regular -var-update during stepping works fine. - Volodya