From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13674 invoked by alias); 25 Oct 2007 18:17:21 -0000 Received: (qmail 13658 invoked by uid 22791); 25 Oct 2007 18:17:20 -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; Thu, 25 Oct 2007 18:17:12 +0000 Received: from Debian-exim by zigzag.lvk.cs.msu.su with spam-scanned (Exim 4.50) id 1Il7GQ-0001xv-VM for gdb@sources.redhat.com; Thu, 25 Oct 2007 22:17:08 +0400 Received: from localhost ([127.0.0.1] helo=ip6-localhost) by zigzag.lvk.cs.msu.su with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1Il7GF-0001wv-LK; Thu, 25 Oct 2007 22:16:51 +0400 From: Vladimir Prus To: Daniel Jacobowitz Subject: Re: Problem with setting register value using MI interface Date: Thu, 25 Oct 2007 18:17:00 -0000 User-Agent: KMail/1.9.6 Cc: gdb@sources.redhat.com References: <7aa837f80710251047h2887f641kab9f0fcdda6ebd49@mail.gmail.com> <20071025180638.GA31035@caradoc.them.org> In-Reply-To: <20071025180638.GA31035@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710252216.49491.ghost@cs.msu.su> 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-10/txt/msg00237.txt.bz2 On Thursday 25 October 2007 22:06:38 Daniel Jacobowitz wrote: > On Thu, Oct 25, 2007 at 10:00:11PM +0400, Vladimir Prus wrote: > > Is this a complete output, with no commands in between? Can you reproduce > > this on x86, and if so, can you post a complete reproduction recipe? > > > > The only 'error' I immediately see on that code path is this: > > > > if (!frame) > > error (_("Value being assigned to is no longer active.")); > > > > in value_assign, but I don't think it can ever fire unless you change frames above. > > It can if you're in the outermost frame (i.e. can not backtrace). I > believe there's a PR about this; I know there were a couple of > discussions about it, and there's a nasty hack in our local source > tree for it too. Yeah, I misremembered when this issue arises. Anyway, I'd rather have a complete reproduction recipe so that we can be sure it's this bug. - Volodya