public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug corefiles/14383] New: Corefile support for arm-elf-none targets
@ 2012-07-22  6:32 fredrik.hederstierna@securitas-direct.com
  2012-07-22  7:02 ` [Bug corefiles/14383] " fredrik.hederstierna@securitas-direct.com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: fredrik.hederstierna@securitas-direct.com @ 2012-07-22  6:32 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14383

             Bug #: 14383
           Summary: Corefile support for arm-elf-none targets
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: corefiles
        AssignedTo: unassigned@sourceware.org
        ReportedBy: fredrik.hederstierna@securitas-direct.com
    Classification: Unclassified


Today corefiles are only supported by Linux targets for ARM.

It would be great to have the possibility to have basic corefiles also for
non-Linux ARM targets.

The ideal would be to be able to eg. run remote serial GDB to target dev-board
and eg. put breakpoints in exception handler, then run 'generate-core-file' to
be able to debug it later off-line using core-files from disk.

Possibly the existing code for corefiles in in 'arm-linux-tdep.c'.
Could this be moved to the more generic 'arm-tdep.c' to enable a
default-corefile support that could be overridden when calling osabi_init() ?

I submit a patch that seems to work, but more as an example how it could be
done perhaps, any other suggestions for solutions are ofcourse welcome.

-- 
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] 14+ messages in thread

end of thread, other threads:[~2021-11-06  8:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-22  6:32 [Bug corefiles/14383] New: Corefile support for arm-elf-none targets fredrik.hederstierna@securitas-direct.com
2012-07-22  7:02 ` [Bug corefiles/14383] " fredrik.hederstierna@securitas-direct.com
2012-11-05  9:55 ` fredrik.hederstierna@securitas-direct.com
2012-11-05  9:56 ` fredrik.hederstierna@securitas-direct.com
2012-11-05  9:57 ` fredrik.hederstierna@securitas-direct.com
2012-11-05 10:03 ` fredrik.hederstierna@securitas-direct.com
2013-10-29 22:49 ` will.newton at gmail dot com
2014-11-10 12:27 ` Mail at Robitzki dot com
2014-11-10 12:31 ` Mail at Robitzki dot com
2020-10-16 23:38 ` fredrik.hederstierna@securitas-direct.com
2020-10-16 23:40 ` fredrik.hederstierna@securitas-direct.com
2020-10-20 11:31 ` fredrik.hederstierna@securitas-direct.com
2021-06-01  8:58 ` cvs-commit at gcc dot gnu.org
2021-11-06  8:46 ` fredrik.hederstierna@securitas-direct.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).