Changeset 74e6b1f in mainline for uspace/app/taskdump/elf_core.c


Ignore:
Timestamp:
2011-07-29T16:33:45Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3fab770
Parents:
f5d51de
Message:

Write register state to core files (amd64).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/taskdump/elf_core.c

    rf5d51de r74e6b1f  
    106106#endif
    107107#ifdef __64_BITS__
    108         word_size = 8;
     108        /*
     109         * This should be 8 per the 64-bit ELF spec, but the Linux kernel
     110         * screws up and uses 4 anyway (and screws up elf_note_t as well)
     111         * and we are trying to be compatible with Linux GDB target. Sigh.
     112         */
     113        word_size = 4;
    109114#endif
    110115        memset(&pr_status, 0, sizeof(pr_status));
Note: See TracChangeset for help on using the changeset viewer.