diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2016-08-25 19:13:57 +0200 |
---|---|---|
committer | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2016-08-25 19:13:57 +0200 |
commit | e3e9290d6c7bc276ac6a15a9d5793a49dde92c41 (patch) | |
tree | bdf42a9d34fd098dee36b7430f06273c32d2f87e /bfd/cpu-h8500.c | |
parent | ceada89664de30158de12d3d8f7bd7880ff6af29 (diff) | |
download | gdb-e3e9290d6c7bc276ac6a15a9d5793a49dde92c41.zip gdb-e3e9290d6c7bc276ac6a15a9d5793a49dde92c41.tar.gz gdb-e3e9290d6c7bc276ac6a15a9d5793a49dde92c41.tar.bz2 |
S390: Add support for core dump NOTE sections
This enhances the 32-bit and 64-bit s390 ELF backends with support for
reading and writing the core dump note sections NT_PRSTATUS and
NT_PRPSINFO. Byte swapping is done as appropriate, such that core files
can now be processed correctly on non-s390 platforms.
bfd/ChangeLog:
* elf32-s390.c (stdarg.h): New include.
(elf_s390_grok_psinfo): New function.
(elf_s390_write_core_note): New function.
(elf_backend_grok_psinfo): Declare backend hook.
(elf_backend_write_core_note): Likewise.
* elf64-s390.c (stdarg.h): New include.
(elf_s390_grok_prstatus): New function.
(elf_s390_grok_psinfo): New function.
(elf_s390_write_core_note): New function.
(elf_backend_grok_prstatus): Declare backend hook.
(elf_backend_grok_psinfo): Likewise.
(elf_backend_write_core_note): Likewise.
Diffstat (limited to 'bfd/cpu-h8500.c')
0 files changed, 0 insertions, 0 deletions