From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1449 invoked by alias); 25 Oct 2007 18:06:45 -0000 Received: (qmail 1421 invoked by uid 22791); 25 Oct 2007 18:06:44 -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, 25 Oct 2007 18:06:41 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 1DBEA9833F; Thu, 25 Oct 2007 18:06:40 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id EB9C89830E; Thu, 25 Oct 2007 18:06:39 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1Il76M-00087A-Se; Thu, 25 Oct 2007 14:06:38 -0400 Date: Thu, 25 Oct 2007 18:06:00 -0000 From: Daniel Jacobowitz To: Vladimir Prus Cc: gdb@sources.redhat.com Subject: Re: Problem with setting register value using MI interface Message-ID: <20071025180638.GA31035@caradoc.them.org> Mail-Followup-To: Vladimir Prus , gdb@sources.redhat.com References: <7aa837f80710251047h2887f641kab9f0fcdda6ebd49@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) 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-10/txt/msg00236.txt.bz2 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. -- Daniel Jacobowitz CodeSourcery