Changes between Version 2 and Version 3 of CoreFiles


Ignore:
Timestamp:
2011-09-22T21:01:39Z (13 years ago)
Author:
Jiri Svoboda
Comment:

Register state is saved on some arches

Legend:

Unmodified
Added
Removed
Modified
  • CoreFiles

    v2 v3  
    11= Working with core files =
    22
    3 HelenOS can now produce an ELF core file when a task crashes. While you cannot really use it yet in HelenOS directly, you can extract this core file and use it with GDB to debug the application. Note that only memory state is saved as of yet. Register state is not stored in the core file. Here we assume you are using Linux as your host system and that you run HelenOS in Qemu.
     3HelenOS can now produce an ELF core file when a task crashes. While you cannot really use it yet in HelenOS directly, you can extract this core file and use it with GDB to debug the application.
     4
     5Note that all architectures do not support saving register state in the core file, see [wiki:ArchFeature], check the line labeled ''Write GP-register state to core file''. If the architecture does not support it, you will not be able to view register state nor a stack trace in GDB!
     6
     7Here we assume you are using Linux as your host system and that you run HelenOS in Qemu.
    48
    59First configure and build HelenOS as follows: