This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug sim/13678] New: ARM: internal error (register not updated) inremote-sim.c
- From: "adam at irvine dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 09 Feb 2012 20:33:04 +0000
- Subject: [Bug sim/13678] New: ARM: internal error (register not updated) inremote-sim.c
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13678
Bug #: 13678
Summary: ARM: internal error (register not updated) in
remote-sim.c
Product: gdb
Version: 7.4
Status: NEW
Severity: normal
Priority: P2
Component: sim
AssignedTo: unassigned@sourceware.org
ReportedBy: adam@irvine.com
Classification: Unclassified
I built gdb for arm-elf and tried it on a program I built with GCC. I'm not
sure I configured things right or if the target program was built correctly,
but the gdb code looks suspicious enough that it's worth reporting anyway.
I used the commands:
gdb hello
(gdb) target sim
(gdb) load
(gdb) r
Starting program...
.../gdb/remote-sim.c:531: internal-error: Register 25 not updated
In sim/arm/wrapper.c, sim_store_register() appears to return -1 if the register
is any general register, floating-point register, or PS.
In gdb/remote-sim.c, gdbsim_store_register() calls sim_store_register() and
then displays the above-mentioned internal error if that function returns a
negative value. "What we've got here is a failure to communicate..."
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.