generic-poky/meta/recipes-devtools/gdb/gdb
Daniel Díaz 76ffc6b7e5 gdb: fix header ordering for TRAP_HWBKPT
This error can appear in gdb/nat/linux-ptrace.c because of
the order in which some headers are processed:
| In file included from ../../gdb-7.11.1/gdb/nat/linux-ptrace.c:20:0:
| ../../gdb-7.11.1/gdb/nat/linux-ptrace.h:175:22: error: expected identifier before numeric constant
|  # define TRAP_HWBKPT 4
|                       ^
| Makefile:2357: recipe for target 'linux-ptrace.o' failed
| make[2]: *** [linux-ptrace.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory '/oe/build/tmp-rpb-glibc/work/aarch64-linaro-linux/gdb/7.11.1-r0/build-aarch64-linaro-linux/gdb'
| Makefile:8822: recipe for target 'all-gdb' failed
| make[1]: *** [all-gdb] Error 2
| make[1]: Leaving directory '/oe/build/tmp-rpb-glibc/work/aarch64-linaro-linux/gdb/7.11.1-r0/build-aarch64-linaro-linux'
| Makefile:846: recipe for target 'all' failed
| make: *** [all] Error 2

A patch from GDB's current master solves the issue.

(From OE-Core rev: 4aaf747099714ec11158571527396ed9e818729e)

(From OE-Core rev: 463e512a027966123ec113b7507eb5e55a19b072)

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-07 15:57:43 +01:00
..
0001-include-sys-types.h-for-mode_t.patch gdb: Upgrade to 7.12 2016-12-20 15:22:16 +00:00
0002-make-man-install-relative-to-DESTDIR.patch gdb: Upgrade to 7.12 2016-12-20 15:22:16 +00:00
0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch gdb: Upgrade to 7.12 2016-12-20 15:22:16 +00:00
0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch gdb: Upgrade to 7.12 2016-12-20 15:22:16 +00:00
0005-Add-support-for-Renesas-SH-sh4-architecture.patch gdb: Upgrade to 7.12 2016-12-20 15:22:16 +00:00
0006-Dont-disable-libreadline.a-when-using-disable-static.patch gdb: Upgrade to 7.12 2016-12-20 15:22:16 +00:00
0007-use-asm-sgidefs.h.patch gdb: Upgrade to 7.12 2016-12-20 15:22:16 +00:00
0008-Use-exorted-definitions-of-SIGRTMIN.patch gdb: Upgrade to 7.12 2016-12-20 15:22:16 +00:00
0009-Change-order-of-CFLAGS.patch gdb: Upgrade to 7.12 2016-12-20 15:22:16 +00:00
0010-resolve-restrict-keyword-conflict.patch gdb: Upgrade to 7.12 2016-12-20 15:22:16 +00:00
gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch gdb: fix header ordering for TRAP_HWBKPT 2018-05-07 15:57:43 +01:00
package_devel_gdb_patches_120-sigprocmask-invalid-call.patch gdb: fix gdbserver not working in musl/mips context 2017-11-05 22:39:47 +00:00