This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Patch for the gdb problem ÂValue being assigned to is no longer activeÂ


Hi,

Today, while using a cross-gdb (of course generated by crosstool-ng)
through OpenOCD to control the JTAG of an ARM CPU, I encountered the
following issue while trying to change register values :

(gdb) set $pc=0x23F00000
Value being assigned to is no longer active.

This problem is known, and a bug report is available at
https://bugzilla.redhat.com/show_bug.cgi?id=436037.

The corresponding fix is available at
http://cvs.fedoraproject.org/viewvc/devel/gdb/gdb-6.8-bz436037-reg-no-longer-active.patch?revision=1.1

I've integrated this patch in patches/gdb/ of crosstool-ng and rebuilt
the toolchain. I can confirm that the problem no longer occurs.

Maybe it would be a good idea to include this patch in crosstool-ng ?

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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