gdb: add patches to fix musl build on ppc(64)(le) and sh
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 3 Jun 2017 20:41:22 +0000 (22:41 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 11 Jun 2017 16:00:48 +0000 (18:00 +0200)
commit1bad51784646bce34a177199aaf7689c689bb816
tree042e19b2e7bf09b365cebd6c8eab2a05e1e52792
parent61b502794eda3fdd100eea9e8f3d0b78f8fe4151
gdb: add patches to fix musl build on ppc(64)(le) and sh

This commit small patches to gdb that fix redefined structures build
problems that occur when building on PowerPC, PowerPC64, PowerPC64le and
SuperH with the musl C library.

The PowerPC(64)(le) patch was taken from the Yocto Project, the SuperH
patch was inspired from the PowerPC patch. The issue has also been
reported upstream to the musl developers:

  http://www.openwall.com/lists/musl/2017/06/03/1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Changes since v2:
 - None
Changes since v1:
 - None
package/gdb/7.10.1/0008-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch [new file with mode: 0644]
package/gdb/7.10.1/0009-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch [new file with mode: 0644]
package/gdb/7.11.1/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch [new file with mode: 0644]
package/gdb/7.11.1/0004-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch [new file with mode: 0644]
package/gdb/7.12.1/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch [new file with mode: 0644]
package/gdb/7.12.1/0003-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch [new file with mode: 0644]