From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8023 invoked by alias); 27 Apr 2005 16:36:30 -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 7023 invoked from network); 27 Apr 2005 16:36:03 -0000 Received: from unknown (HELO rproxy.gmail.com) (64.233.170.207) by sourceware.org with SMTP; 27 Apr 2005 16:36:03 -0000 Received: by rproxy.gmail.com with SMTP id a36so351645rnf for ; Wed, 27 Apr 2005 09:36:03 -0700 (PDT) Received: by 10.11.118.34 with SMTP id q34mr12472cwc; Wed, 27 Apr 2005 09:36:03 -0700 (PDT) Received: by 10.11.99.70 with HTTP; Wed, 27 Apr 2005 09:36:03 -0700 (PDT) Message-ID: <7f45d9390504270936609770e7@mail.gmail.com> Date: Wed, 27 Apr 2005 16:39:00 -0000 From: Shaun Jackman Reply-To: Shaun Jackman To: gdb@sources.redhat.com Subject: Re: Value being assigned to is no longer active. In-Reply-To: <20050421004716.GA4971@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7f45d9390504201658183f0ca0@mail.gmail.com> <20050421004716.GA4971@nevyn.them.org> X-SW-Source: 2005-04/txt/msg00200.txt.bz2 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-e= lf". >=20 > In this context, I'm not sure. Could you show a whole session? Here's a complete session. I loaded and ran the program. It hung so I interrupted it. I tried a backtrace, but the processor was in no-man's-land, so I attempted to switch the chip back to user-mode to see what its stack looked like. Cheers, Shaun (gdb) target remote bdi:2001 Remote debugging using bdi:2001 0x01009810 in ?? () (gdb) lo Loading section .text, size 0x2ece8 lma 0x2000000 Loading section .rodata, size 0x7e30 lma 0x202ece8 Loading section .data, size 0x19c8 lma 0x2036c18 Start address 0x2000000, load size 230624 Transfer rate: 108528 bits/sec, 312 bytes/write. (gdb) c Continuing. Program received signal SIGSTOP, Stopped (signal). 0x00000010 in ?? () (gdb) bt #0 0x00000010 in ?? () (gdb) p/x $cpsr $1 =3D 0x20000097 (gdb) set $cpsr=3D0x1f Value being assigned to is no longer active. (gdb) p/x $cpsr=3D0x1f Value being assigned to is no longer active.