public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Shaun Jackman <sjackman@gmail.com>
To: gdb@sources.redhat.com
Subject: Re: Value being assigned to is no longer active.
Date: Wed, 27 Apr 2005 16:39:00 -0000	[thread overview]
Message-ID: <7f45d9390504270936609770e7@mail.gmail.com> (raw)
In-Reply-To: <20050421004716.GA4971@nevyn.them.org>

On 4/20/05, Daniel Jacobowitz <drow@false.org> wrote:
> On Wed, Apr 20, 2005 at 04:58:24PM -0700, Shaun Jackman wrote:
> > What does this error message mean?
> >
> > (gdb) set $cpsr=0x1f
> > Value being assigned to is no longer active.
> > (gdb) set $pc=0x2000000
> > Value being assigned to is no longer active.
> > (gdb) show version
> > GNU gdb 6.3.50.20050419
> > ...
> > This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf".
> 
> 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 = 0x20000097
(gdb) set $cpsr=0x1f
Value being assigned to is no longer active.
(gdb) p/x $cpsr=0x1f
Value being assigned to is no longer active.

  parent reply	other threads:[~2005-04-27 16:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-20 23:58 Shaun Jackman
2005-04-21  0:47 ` Daniel Jacobowitz
2005-04-21  3:16   ` Shaun Jackman
2005-04-21  3:18     ` Daniel Jacobowitz
2005-04-21  3:41       ` Shaun Jackman
2005-04-27 16:39   ` Shaun Jackman [this message]
2005-04-27 18:40     ` Daniel Jacobowitz
2005-05-03 12:41 Decker, Paul
2005-05-03 12:58 ` Daniel Jacobowitz
2005-05-03 13:03 Decker, Paul
2005-05-03 13:21 ` Daniel Jacobowitz
2005-05-03 13:38 Decker, Paul
2005-05-03 13:40 ` Daniel Jacobowitz
2005-05-03 13:47 Decker, Paul
2005-05-03 13:54 ` Daniel Jacobowitz
2005-05-03 14:01 Decker, Paul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7f45d9390504270936609770e7@mail.gmail.com \
    --to=sjackman@gmail.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).