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

* [Bug sim/13678] ARM: internal error (register not updated) in remote-sim.c
  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 ` vapier at gentoo dot org
  2015-03-29 22:02 ` vapier at gentoo dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: vapier at gentoo dot org @ 2014-03-14  0:46 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=13678

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vapier at gentoo dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug sim/13678] ARM: internal error (register not updated) in remote-sim.c
  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
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: vapier at gentoo dot org @ 2015-03-29 22:02 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=13678

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |arm-*

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug sim/13678] ARM: internal error (register not updated) in remote-sim.c
  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
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: vapier at gentoo dot org @ 2015-03-29 22:09 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=13678

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |nickc at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug sim/13678] sim: arm: internal error (register not updated) in remote-sim.c
  2012-02-09 20:33 [Bug sim/13678] New: ARM: internal error (register not updated) in remote-sim.c adam at irvine dot com
                   ` (2 preceding siblings ...)
  2015-03-29 22:09 ` vapier at gentoo dot org
@ 2021-10-31 17:27 ` vapier at gentoo dot org
  2022-11-02 11:34 ` luis.machado at arm dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: vapier at gentoo dot org @ 2021-10-31 17:27 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=13678

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ARM: internal error         |sim: arm: internal error
                   |(register not updated) in   |(register not updated) in
                   |remote-sim.c                |remote-sim.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug sim/13678] sim: arm: internal error (register not updated) in remote-sim.c
  2012-02-09 20:33 [Bug sim/13678] New: ARM: internal error (register not updated) in remote-sim.c adam at irvine dot com
                   ` (3 preceding siblings ...)
  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
  6 siblings, 0 replies; 8+ messages in thread
From: luis.machado at arm dot com @ 2022-11-02 11:34 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=13678

Luis Machado <luis.machado at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luis.machado at arm dot com

--- Comment #1 from Luis Machado <luis.machado at arm dot com> ---
Hi Nick, are you still planning to address this?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug sim/13678] sim: arm: internal error (register not updated) in remote-sim.c
  2012-02-09 20:33 [Bug sim/13678] New: ARM: internal error (register not updated) in remote-sim.c adam at irvine dot com
                   ` (4 preceding siblings ...)
  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
  6 siblings, 0 replies; 8+ messages in thread
From: nickc at redhat dot com @ 2022-11-02 11:55 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=13678

--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Luis Machado from comment #1)
> Hi Nick, are you still planning to address this?

Sorry - I had forgotten that I am still listed as a maintainer for the arm sim.

I will have a go, although it has been a long time.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug sim/13678] sim: arm: internal error (register not updated) in remote-sim.c
  2012-02-09 20:33 [Bug sim/13678] New: ARM: internal error (register not updated) in remote-sim.c adam at irvine dot com
                   ` (5 preceding siblings ...)
  2022-11-02 11:55 ` nickc at redhat dot com
@ 2022-11-02 11:56 ` nickc at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: nickc at redhat dot com @ 2022-11-02 11:56 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=13678

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #3 from Nick Clifton <nickc at redhat dot com> ---
(In reply to adam from comment #0)
Hi Adam,

  Please could you upload the hello binary that triggers this problem.

  I tried to reproduce the failure using an executable that I had created
  myself, but it worked.

Cheers
  Nick

-- 
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).