From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11330 invoked by alias); 3 May 2005 12:41:01 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 29160 invoked from network); 3 May 2005 12:31:21 -0000 Received: from unknown (HELO nwd2mail3.analog.com) (137.71.25.52) by sourceware.org with SMTP; 3 May 2005 12:31:21 -0000 Received: from nwd2mhb1.analog.com (nwd2mhb1.analog.com [137.71.5.12]) by nwd2mail3.analog.com (8.12.10/8.12.10) with ESMTP id j43CVGkc022301 for ; Tue, 3 May 2005 08:31:16 -0400 Received: from nwd2exm3.ad.analog.com (nwd2exm3.ad.analog.com [10.64.51.19]) by nwd2mhb1.analog.com (8.9.3 (PHNE_28810+JAGae91741)/8.9.3) with ESMTP id IAA01813 for ; Tue, 3 May 2005 08:31:16 -0400 (EDT) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Value being assigned to is no longer active. Date: Tue, 03 May 2005 12:41:00 -0000 Message-ID: From: "Decker, Paul" To: X-Spam-Status: No, hits=-100.0 required=10.0 tests=USER_IN_WHITELIST version=3.0.2 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 3.000002 (2004-11-16) X-SW-Source: 2005-05/txt/msg00021.txt.bz2 =20 Being relatively new to using gdb, and developing a new target for it, I'm now getting this same error message. I get it, after I have loaded a program to my target. Before performing a load, I can set register values without any problems. The load seems to work fine, however at that point, I can not set any register values, including the PC. I would be grateful for any ideas, remember though, I'm very green with gdb and the whole debug server stuff. thanks, Paul. -----Original Message----- From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com] On Behalf Of Daniel Jacobowitz Sent: Wednesday, April 20, 2005 11:18 PM To: Shaun Jackman Cc: gdb@sources.redhat.com Subject: Re: Value being assigned to is no longer active. On Wed, Apr 20, 2005 at 08:16:37PM -0700, Shaun Jackman wrote: > On 4/20/05, Daniel Jacobowitz wrote: > > On Wed, Apr 20, 2005 at 04:58:24PM -0700, Shaun Jackman wrote: > > > What does this error message mean? > > > > > > (gdb) set $cpsr=3D0x1f > > > Value being assigned to is no longer active. > > > (gdb) set $pc=3D0x2000000 > > > Value being assigned to is no longer active. > > > (gdb) show version > > > GNU gdb 6.3.50.20050419 > > > ... > > > This GDB was configured as "--host=3Di686-pc-linux-gnu --target=3Darm-elf". > >=20 > > In this context, I'm not sure. Could you show a whole session? >=20 > In the following snippet, the target hung after the "s", so I pressed Ctrl-c. >=20 > Cheers, > Shaun >=20 > (gdb) s > Program received signal SIGSTOP, Stopped (signal). > 0x0000000c in ?? () > (gdb) bt > #0 0x0000000c in ?? () > (gdb) p/x $cpsr > $1 =3D 0x40000093 > (gdb) set $cpsr=3D0x1f > Value being assigned to is no longer active. We'd need to be able to reproduce the problem. I suspect that we've failed to create the first frame, somehow. -- Daniel Jacobowitz CodeSourcery, LLC