From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19405 invoked by alias); 13 Apr 2009 08:18:04 -0000 Received: (qmail 19076 invoked by uid 22791); 13 Apr 2009 08:18:02 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp.idnet.com (HELO smtp-out.idnet.com) (212.69.36.238) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Apr 2009 08:17:54 +0000 Received: from localhost (unknown [127.0.0.1]) by smtp-out.idnet.com (Postfix) with ESMTP id A48BA16FDF8 for ; Mon, 13 Apr 2009 08:17:51 +0000 (UTC) Received: from smtp-out.idnet.com ([127.0.0.1]) by localhost (smtp-out.idnet.com [127.0.0.1]) (amavisd-new, port 10040) with LMTP id Q2G9HTqbN-mr for ; Mon, 13 Apr 2009 09:17:47 +0100 (BST) Received: from mail.idnet.net.uk (mail.idnet.net.uk [212.69.36.63]) by smtp-out.idnet.com (Postfix) with ESMTP id E927E16FE11 for ; Mon, 13 Apr 2009 09:17:47 +0100 (BST) Received: from [91.135.5.64] by mail.idnet.net.uk (GMS 15.01.3664/NU3963.00.7ca42f0c) with ESMTP id thiclrba for gdb-patches@sourceware.org; Mon, 13 Apr 2009 09:17:55 +0100 Subject: "no longer active" registers From: Jeremy Bennett Reply-To: jeremy.bennett@embecosm.com To: gdb-patches@sourceware.org Content-Type: text/plain Date: Mon, 13 Apr 2009 08:18:00 -0000 Message-Id: <1239610666.13312.97.camel@thomas> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-AuthenticatedSender: jeremy.bennett.embecosm.com@idnet.net.uk 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/msg00229.txt.bz2 I've been using GDB to connect to a remote target via RSP. After loading a program, an attempt to set $pc will give the message: "Value being assigned to is no longer active." I believe this is a known issue (http://sourceware.org/bugzilla/show_bug.cgi?id=9342), and there has been some discussion of why it occurs (http://sourceware.org/ml/gdb-patches/2006-05/msg00017.html). 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 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? Advice on this subject much appreciated. Thanks, Jeremy -- Tel: +44 (1202) 416955 Cell: +44 (7970) 676050 SkypeID: jeremybennett Email: jeremy.bennett@embecosm.com Web: www.embecosm.com