diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-10-30 22:20:58 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-02 11:35:10 +0000 |
commit | 548a9f0640f340d37add7b700f399571fde24eff (patch) | |
tree | 2270ce47535810a4b53b852392bf556d9ac68200 /meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch | |
parent | 4f9ef652c44a19f3575901f120402c8e88c57d13 (diff) | |
download | poky-548a9f0640f340d37add7b700f399571fde24eff.tar.gz |
gdb: Update to 10.x release
here is full announcement [1]
Do not add --disable-static, without adding --enable-shared
because certain libraries e.g. libctf expects the default
to be static which is only disabled if --enable-shared is specified
Do not limit make subdirs, this is only needed when building in a
unified tree, here builds are happening from a release tarball so it is
redundant
[1] https://www.gnu.org/software/gdb/download/ANNOUNCEMENT
(From OE-Core rev: 8fb5fe5a82d173428d96ab43bab25b89ac6f25ea)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch | 50 |
1 files changed, 27 insertions, 23 deletions
diff --git a/meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch b/meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch index c4bab7bb1a..cbe1779db7 100644 --- a/meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch +++ b/meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch | |||
@@ -1,36 +1,19 @@ | |||
1 | From d5817bcf2f7313699bfa85b41220d862db327664 Mon Sep 17 00:00:00 2001 | 1 | From afbb66c244b1ae0aaaa90d88d3cd484f741c614f Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 30 Apr 2016 18:32:14 -0700 | 3 | Date: Sat, 30 Apr 2016 18:32:14 -0700 |
4 | Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems | 4 | Subject: [PATCH 03/11] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC |
5 | systems | ||
5 | 6 | ||
6 | Upstream-Status: Pending | 7 | Upstream-Status: Pending |
7 | 8 | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
9 | --- | 10 | --- |
10 | gdb/gdbserver/linux-ppc-low.c | 6 ++++++ | 11 | gdb/nat/ppc-linux.h | 6 ++++++ |
11 | gdb/nat/ppc-linux.h | 6 ++++++ | 12 | gdbserver/linux-ppc-low.cc | 6 ++++++ |
12 | 2 files changed, 12 insertions(+) | 13 | 2 files changed, 12 insertions(+) |
13 | 14 | ||
14 | diff --git a/gdb/gdbserver/linux-ppc-low.c b/gdb/gdbserver/linux-ppc-low.c | ||
15 | index 5d8d67bec2..ffcf65ab58 100644 | ||
16 | --- a/gdb/gdbserver/linux-ppc-low.c | ||
17 | +++ b/gdb/gdbserver/linux-ppc-low.c | ||
18 | @@ -23,7 +23,13 @@ | ||
19 | #include "elf/common.h" | ||
20 | #include <sys/uio.h> | ||
21 | #include <elf.h> | ||
22 | +#if !defined(__GLIBC__) | ||
23 | +# define pt_regs uapi_pt_regs | ||
24 | +#endif | ||
25 | #include <asm/ptrace.h> | ||
26 | +#if !defined(__GLIBC__) | ||
27 | +# undef pt_regs | ||
28 | +#endif | ||
29 | |||
30 | #include "arch/ppc-linux-common.h" | ||
31 | #include "arch/ppc-linux-tdesc.h" | ||
32 | diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h | 15 | diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h |
33 | index d937a65b69..1fd54b4a0e 100644 | 16 | index d937a65b69c..1fd54b4a0e0 100644 |
34 | --- a/gdb/nat/ppc-linux.h | 17 | --- a/gdb/nat/ppc-linux.h |
35 | +++ b/gdb/nat/ppc-linux.h | 18 | +++ b/gdb/nat/ppc-linux.h |
36 | @@ -18,7 +18,13 @@ | 19 | @@ -18,7 +18,13 @@ |
@@ -47,3 +30,24 @@ index d937a65b69..1fd54b4a0e 100644 | |||
47 | #include <asm/cputable.h> | 30 | #include <asm/cputable.h> |
48 | 31 | ||
49 | /* This sometimes isn't defined. */ | 32 | /* This sometimes isn't defined. */ |
33 | diff --git a/gdbserver/linux-ppc-low.cc b/gdbserver/linux-ppc-low.cc | ||
34 | index 337d555aee7..5d518f37268 100644 | ||
35 | --- a/gdbserver/linux-ppc-low.cc | ||
36 | +++ b/gdbserver/linux-ppc-low.cc | ||
37 | @@ -23,7 +23,13 @@ | ||
38 | #include "elf/common.h" | ||
39 | #include <sys/uio.h> | ||
40 | #include <elf.h> | ||
41 | +#if !defined(__GLIBC__) | ||
42 | +# define pt_regs uapi_pt_regs | ||
43 | +#endif | ||
44 | #include <asm/ptrace.h> | ||
45 | +#if !defined(__GLIBC__) | ||
46 | +# undef pt_regs | ||
47 | +#endif | ||
48 | |||
49 | #include "arch/ppc-linux-common.h" | ||
50 | #include "arch/ppc-linux-tdesc.h" | ||
51 | -- | ||
52 | 2.29.2 | ||
53 | |||