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/0011-gdbserver-ctrl-c-handling.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/0011-gdbserver-ctrl-c-handling.patch')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb/0011-gdbserver-ctrl-c-handling.patch | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/meta/recipes-devtools/gdb/gdb/0011-gdbserver-ctrl-c-handling.patch b/meta/recipes-devtools/gdb/gdb/0011-gdbserver-ctrl-c-handling.patch index eedd94c4d4..0a596b522f 100644 --- a/meta/recipes-devtools/gdb/gdb/0011-gdbserver-ctrl-c-handling.patch +++ b/meta/recipes-devtools/gdb/gdb/0011-gdbserver-ctrl-c-handling.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 3d6700d38153a0ec8e0800de703a5089a8cd3d2d Mon Sep 17 00:00:00 2001 | 1 | From 63df98fa78c8a6e12b40ebdc5c155838d2bf8b5f 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: Thu, 29 Nov 2018 18:00:23 -0800 | 3 | Date: Thu, 29 Nov 2018 18:00:23 -0800 |
4 | Subject: [PATCH] gdbserver ctrl-c handling | 4 | Subject: [PATCH 11/11] gdbserver ctrl-c handling |
5 | 5 | ||
6 | This problem was created by the upstream commit 78708b7c8c | 6 | This problem was created by the upstream commit 78708b7c8c |
7 | After applying the commit, it will send SIGINT to the process | 7 | After applying the commit, it will send SIGINT to the process |
@@ -19,21 +19,22 @@ Author: Josh Gao | |||
19 | Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> | 19 | Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> |
20 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 20 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
21 | --- | 21 | --- |
22 | gdb/gdbserver/linux-low.c | 4 +--- | 22 | gdbserver/linux-low.cc | 2 +- |
23 | 1 file changed, 1 insertion(+), 3 deletions(-) | 23 | 1 file changed, 1 insertion(+), 1 deletion(-) |
24 | 24 | ||
25 | diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c | 25 | diff --git a/gdbserver/linux-low.cc b/gdbserver/linux-low.cc |
26 | index 4255795ea6..762f8bafb6 100644 | 26 | index e45493339d2..aabc099b456 100644 |
27 | --- a/gdb/gdbserver/linux-low.c | 27 | --- a/gdbserver/linux-low.cc |
28 | +++ b/gdb/gdbserver/linux-low.c | 28 | +++ b/gdbserver/linux-low.cc |
29 | @@ -5904,9 +5904,7 @@ linux_look_up_symbols (void) | 29 | @@ -5714,7 +5714,7 @@ linux_process_target::request_interrupt () |
30 | static void | ||
31 | linux_request_interrupt (void) | ||
32 | { | 30 | { |
33 | - /* Send a SIGINT to the process group. This acts just like the user | 31 | /* Send a SIGINT to the process group. This acts just like the user |
34 | - typed a ^C on the controlling terminal. */ | 32 | typed a ^C on the controlling terminal. */ |
35 | - kill (-signal_pid, SIGINT); | 33 | - ::kill (-signal_pid, SIGINT); |
36 | + kill (signal_pid, SIGINT); | 34 | + ::kill (signal_pid, SIGINT); |
37 | } | 35 | } |
38 | 36 | ||
39 | /* Copy LEN bytes from inferior's auxiliary vector starting at OFFSET | 37 | bool |
38 | -- | ||
39 | 2.29.2 | ||
40 | |||