This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug corefiles/14383] New: Corefile support for arm-elf-none targets


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]