public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/28556] New: sim: arm: crashing when generating core
@ 2021-11-06 14:48 fredrik.hederstierna@securitas-direct.com
  2021-12-28 21:45 ` [Bug sim/28556] " tromey at sourceware dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: fredrik.hederstierna@securitas-direct.com @ 2021-11-06 14:48 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 28556
           Summary: sim: arm: crashing when generating core
           Product: gdb
           Version: 11.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: fredrik.hederstierna@securitas-direct.com
  Target Milestone: ---

Created attachment 13764
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13764&action=edit
gdb_arm_sim_corefile.patch

The ARM simulator crashes if trying to generate a core file.

The ARM simulator does not support all registers, and also crashes in case of
entering zero length when trying fetching registers.

This patch adds IDs for D0-D31, then let any calling ARM simulator
implementation handle the results.

This patch allow gcore to also work in ARM simulator.

I tested 'gcore' on target sim for ARM on this, and it worked well on my tests.

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

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

* [Bug sim/28556] sim: arm: crashing when generating core
  2021-11-06 14:48 [Bug gdb/28556] New: sim: arm: crashing when generating core fredrik.hederstierna@securitas-direct.com
@ 2021-12-28 21:45 ` tromey at sourceware dot org
  2022-11-02 11:34 ` luis.machado at arm dot com
  2022-11-02 11:36 ` luis.machado at arm dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2021-12-28 21:45 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|gdb                         |sim
                 CC|                            |tromey at sourceware dot org,
                   |                            |vapier at gentoo dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Moving to sim component.
FWIW patches should go to gdb-patches for review, it's not usually
done in bugzilla.

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

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

* [Bug sim/28556] sim: arm: crashing when generating core
  2021-11-06 14:48 [Bug gdb/28556] New: sim: arm: crashing when generating core fredrik.hederstierna@securitas-direct.com
  2021-12-28 21:45 ` [Bug sim/28556] " tromey at sourceware dot org
@ 2022-11-02 11:34 ` luis.machado at arm dot com
  2022-11-02 11:36 ` luis.machado at arm dot com
  2 siblings, 0 replies; 4+ 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=28556

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

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

--- Comment #2 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] 4+ messages in thread

* [Bug sim/28556] sim: arm: crashing when generating core
  2021-11-06 14:48 [Bug gdb/28556] New: sim: arm: crashing when generating core fredrik.hederstierna@securitas-direct.com
  2021-12-28 21:45 ` [Bug sim/28556] " tromey at sourceware dot org
  2022-11-02 11:34 ` luis.machado at arm dot com
@ 2022-11-02 11:36 ` luis.machado at arm dot com
  2 siblings, 0 replies; 4+ messages in thread
From: luis.machado at arm dot com @ 2022-11-02 11:36 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from Luis Machado <luis.machado at arm dot com> ---
Oops, sorry. I was updating a batch of Nick-assigned sim tickets.

I don't think there has been a lot of updates to arm's sim, so I wouldn't
expect it to be updated.

If you have a patch you'd like to post upstream, please send it go
gdb-patches@sourceware.org, as Tom pointed out.

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

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-06 14:48 [Bug gdb/28556] New: sim: arm: crashing when generating core fredrik.hederstierna@securitas-direct.com
2021-12-28 21:45 ` [Bug sim/28556] " tromey at sourceware dot org
2022-11-02 11:34 ` luis.machado at arm dot com
2022-11-02 11:36 ` luis.machado at arm 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).