This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
"no longer active" registers
- From: Jeremy Bennett <jeremy dot bennett at embecosm dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 13 Apr 2009 09:17:46 +0100
- Subject: "no longer active" registers
- Reply-to: jeremy dot bennett at embecosm dot com
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