This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug corefiles/14383] New: Corefile support for arm-elf-none targets
- From: "fredrik dot hederstierna at securitas-direct dot com"<sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 22 Jul 2012 06:32:07 +0000
- Subject: [Bug corefiles/14383] New: Corefile support for arm-elf-none targets
- Auto-submitted: auto-generated
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.