This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"no longer active" registers


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]