diff options
-rw-r--r-- | meta/recipes-devtools/gdb/gdb/gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gdb/gdb/gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch b/meta/recipes-devtools/gdb/gdb/gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch index c7b1d0d902..ef97de7772 100644 --- a/meta/recipes-devtools/gdb/gdb/gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch +++ b/meta/recipes-devtools/gdb/gdb/gdb-Fix-ia64-defining-TRAP_HWBKPT-before-including-g.patch | |||
@@ -3,6 +3,9 @@ From: James Clarke <jrtc27@jrtc27.com> | |||
3 | Date: Fri, 19 Jan 2018 17:22:49 +0000 | 3 | Date: Fri, 19 Jan 2018 17:22:49 +0000 |
4 | Subject: [PATCH] gdb: Fix ia64 defining TRAP_HWBKPT before including | 4 | Subject: [PATCH] gdb: Fix ia64 defining TRAP_HWBKPT before including |
5 | gdb_wait.h | 5 | gdb_wait.h |
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
6 | 9 | ||
7 | On ia64, gdb_wait.h eventually includes siginfo-consts-arch.h, which | 10 | On ia64, gdb_wait.h eventually includes siginfo-consts-arch.h, which |
8 | contains an enum with TRAP_HWBKPT, along with a #define. Thus we cannot | 11 | contains an enum with TRAP_HWBKPT, along with a #define. Thus we cannot |
@@ -16,6 +19,8 @@ gdb/ChangeLog: | |||
16 | * nat/linux-ptrace.h: ... to here. | 19 | * nat/linux-ptrace.h: ... to here. |
17 | 20 | ||
18 | Upstream-Status: Accepted [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=5a6c3296a7a90694ad4042f6256f3da6d4fa4ee8] | 21 | Upstream-Status: Accepted [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=5a6c3296a7a90694ad4042f6256f3da6d4fa4ee8] |
22 | |||
23 | Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> | ||
19 | --- | 24 | --- |
20 | gdb/nat/linux-ptrace.c | 2 -- | 25 | gdb/nat/linux-ptrace.c | 2 -- |
21 | gdb/nat/linux-ptrace.h | 1 + | 26 | gdb/nat/linux-ptrace.h | 1 + |