generic-poky/meta/recipes-devtools/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
..
gdb gdb: fix header ordering for TRAP_HWBKPT 2018-05-07 15:57:43 +01:00
gdb-7.12.1.inc gdb: fix header ordering for TRAP_HWBKPT 2018-05-07 15:57:43 +01:00
gdb-common.inc gdb: don't bundle bfd.info -- leave that to binutils. 2017-03-17 16:53:04 +00:00
gdb-cross-canadian.inc gdb-cross-canadian: Depend on nativesdk-python3-importlib 2016-12-08 10:31:30 +00:00
gdb-cross-canadian_7.12.1.bb gdb: Upgrade to 7.12.1 2017-02-23 12:49:49 -08:00
gdb-cross.inc recipes/*-cross recipes: ignore TARGET_ARCH sstate hash 2017-04-12 15:09:58 +01:00
gdb-cross_7.12.1.bb gdb: Upgrade to 7.12.1 2017-02-23 12:49:49 -08:00
gdb.inc gdb: Upgrade to 7.11 2016-05-14 23:05:12 +01:00
gdb_7.12.1.bb recipes: Make use of the new bb.utils.filter() function 2017-03-01 11:17:45 +00:00