This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] BFD: Write Linux core PRSTATUS note into MIPS core file
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 08 Nov 2017 17:13:19 -0500
- Subject: [binutils-gdb] BFD: Write Linux core PRSTATUS note into MIPS core file
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 9031cb4af0adcf1c73cb9b8c73ca2d989023af2f ***
Author: Djordje Todorovic <djordje.todorovic@rt-rk.com>
Branch: master
Commit: 9031cb4af0adcf1c73cb9b8c73ca2d989023af2f
BFD: Write Linux core PRSTATUS note into MIPS core file
On MIPS o32, n32 and n64 platforms information such as PID was not
correctly written into core file from GDB.
This fixes that behavior.
bfd/ChangeLog:
* elf32-mips.c (elf32_mips_write_core_note): New function.
(elf_backend_write_core_note): New macro.
* elf64-mips.c (elf64_mips_write_core_note): New function.
(elf_backend_write_core_note): New macro.
* elfn32-mips.c (elf32_mips_write_core_note): New function.
(elf_backend_write_core_note): New macro.