Re: [OE-core] [PATCH v2] gdb: fix header ordering for TRAP_HWBKPT

2018-03-06 Thread Khem Raj
On Tue, Mar 6, 2018 at 7:46 AM, Daniel Díaz wrote: > 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: expect

[OE-core] [PATCH v2] gdb: fix header ordering for TRAP_HWBKPT

2018-03-06 Thread Daniel Díaz
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_HWBK