diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc index e970450fa3..4ea14c19f8 100644 --- a/meta/recipes-devtools/gdb/gdb.inc +++ b/meta/recipes-devtools/gdb/gdb.inc | |||
@@ -5,6 +5,7 @@ inherit gettext | |||
5 | SRC_URI += "file://0002-Change-order-of-CFLAGS.patch \ | 5 | SRC_URI += "file://0002-Change-order-of-CFLAGS.patch \ |
6 | file://0003-Add-support-for-Renesas-SH-sh4-architecture.patch \ | 6 | file://0003-Add-support-for-Renesas-SH-sh4-architecture.patch \ |
7 | file://0001-Use-exported-definitions-of-SIGRTMIN.patch \ | 7 | file://0001-Use-exported-definitions-of-SIGRTMIN.patch \ |
8 | file://0001-include-sys-types.h-for-mode_t.patch \ | ||
8 | " | 9 | " |
9 | #LDFLAGS_append = " -s" | 10 | #LDFLAGS_append = " -s" |
10 | #export CFLAGS_append=" -L${STAGING_LIBDIR}" | 11 | #export CFLAGS_append=" -L${STAGING_LIBDIR}" |
diff --git a/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch b/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch new file mode 100644 index 0000000000..a0292e4166 --- /dev/null +++ b/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From acbee4edacb80b5eeaff2480712fe98e56443997 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 19 Jan 2016 18:18:52 -0800 | ||
4 | Subject: [PATCH] include sys/types.h for mode_t | ||
5 | |||
6 | mode_t is used in target.h, so we need to include sys/types.h to get the | ||
7 | defintion | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | Upstream-Status: Pending | ||
12 | |||
13 | gdb/gdbserver/target.h | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h | ||
17 | index 9a40867..aaecab9 100644 | ||
18 | --- a/gdb/gdbserver/target.h | ||
19 | +++ b/gdb/gdbserver/target.h | ||
20 | @@ -27,6 +27,7 @@ | ||
21 | #include "target/waitstatus.h" | ||
22 | #include "mem-break.h" | ||
23 | #include "btrace-common.h" | ||
24 | +#include <sys/types.h> | ||
25 | |||
26 | struct emit_ops; | ||
27 | struct buffer; | ||
28 | -- | ||
29 | 2.7.0 | ||
30 | |||