gdb: fix full gdb build for MIPS musl
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Mon, 19 Jun 2017 16:00:08 +0000 (17:00 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 19 Jun 2017 19:47:05 +0000 (21:47 +0200)
commit1874fe15224007308a7bf4e9765506a3b4bc1b27
tree257cf1e8749146ffa44d91462763152db0e288ed
parent9d274324de74d0b9ea58d88f1807184879a7b615
gdb: fix full gdb build for MIPS musl

Currently building full gdb for MIPS musl fails because it's trying to
include <sgidefs.h> which is provided by glibc and uClibc, but not by
musl.

However, the kernel headers provide <asm/sgidefs.h> which has the same
definitions, so we can use that one instead.

Backporting a patch that has been sent upstream. Taken from here:

https://sourceware.org/bugzilla/show_bug.cgi?id=21070

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gdb/7.10.1/0011-use-asm-sgidefs.h.patch [new file with mode: 0644]
package/gdb/7.11.1/0006-use-asm-sgidefs.h.patch [new file with mode: 0644]
package/gdb/7.12.1/0005-use-asm-sgidefs.h.patch [new file with mode: 0644]
package/gdb/8.0/0003-use-asm-sgidefs.h.patch [new file with mode: 0644]