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

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