From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5260 invoked by alias); 13 Apr 2009 12:40:38 -0000 Received: (qmail 5249 invoked by uid 22791); 13 Apr 2009 12:40:37 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Apr 2009 12:40:31 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n3DCeTbi004606 for ; Mon, 13 Apr 2009 08:40:29 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n3DCeSDr022845; Mon, 13 Apr 2009 08:40:28 -0400 Received: from host0.dyn.jankratochvil.net (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n3DCePQc002580; Mon, 13 Apr 2009 08:40:26 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id n3DCeN6E013232; Mon, 13 Apr 2009 14:40:23 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.2/Submit) id n3DCeLlA013209; Mon, 13 Apr 2009 14:40:21 +0200 Date: Mon, 13 Apr 2009 12:40:00 -0000 From: Jan Kratochvil To: Jeremy Bennett Cc: gdb-patches@sourceware.org, Denys Vlasenko Subject: Re: "no longer active" registers Message-ID: <20090413124021.GA7419@host0.dyn.jankratochvil.net> References: <1239610666.13312.97.camel@thomas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1239610666.13312.97.camel@thomas> User-Agent: Mutt/1.5.18 (2008-05-17) 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: 2009-04/txt/msg00230.txt.bz2 On Mon, 13 Apr 2009 10:17:46 +0200, Jeremy Bennett wrote: > I've discovered that the Fedora project has a small patch to valops.c by > Jan Kratochvil, which seems to cure this problem: > > http://cvs.fedoraproject.org/viewvc/devel/gdb/gdb-6.8-bz436037-reg-no-longer-active.patch?revision=1.1&view=markup Just a correction of the credit, this patch is by Denys Vlasenko. > I notice that this patch is not part of the main GDB CVS tree. Are there > plans to incorporate this patch into the main CVS tree, or are there > side-effects that mean it is not generally applicable? While I could not find a regression by this patch it is just a fixup of one of the many places affected by the ambiguous meaning of a NULL frame. Probably the right fix is to have non-NULL frame value for the unbacktraceable frame. Regards, Jan