public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug sim/13678] New: ARM: internal error (register not updated) in remote-sim.c
@ 2012-02-09 20:33 adam at irvine dot com
  2014-03-14  0:46 ` [Bug sim/13678] " vapier at gentoo dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: adam at irvine dot com @ 2012-02-09 20:33 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-11-02 11:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-09 20:33 [Bug sim/13678] New: ARM: internal error (register not updated) in remote-sim.c adam at irvine dot com
2014-03-14  0:46 ` [Bug sim/13678] " vapier at gentoo dot org
2015-03-29 22:02 ` vapier at gentoo dot org
2015-03-29 22:09 ` vapier at gentoo dot org
2021-10-31 17:27 ` [Bug sim/13678] sim: arm: " vapier at gentoo dot org
2022-11-02 11:34 ` luis.machado at arm dot com
2022-11-02 11:55 ` nickc at redhat dot com
2022-11-02 11:56 ` nickc at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).