From: Jeremy Bennett <jeremy.bennett@embecosm.com>
To: gdb-patches@sourceware.org
Subject: "no longer active" registers
Date: Mon, 13 Apr 2009 08:18:00 -0000 [thread overview]
Message-ID: <1239610666.13312.97.camel@thomas> (raw)
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
next reply other threads:[~2009-04-13 8:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-13 8:18 Jeremy Bennett [this message]
2009-04-13 12:40 ` Jan Kratochvil
2009-04-13 12:56 ` Daniel Jacobowitz
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=1239610666.13312.97.camel@thomas \
--to=jeremy.bennett@embecosm.com \
--cc=gdb-patches@sourceware.org \
/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