diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-03-28 16:55:45 -0700 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-08-21 15:59:39 +0200 |
commit | beddcfdc30e734df52c588ef4862de45b1af7235 (patch) | |
tree | 25f724345319e2458ba86b53917af805886b6e41 /package/devel/gdb/patches/130-gdb-ctrl-c.patch | |
parent | 0d3f3323a2fc58598e4036a84624ad57586f6538 (diff) | |
download | upstream-beddcfdc30e734df52c588ef4862de45b1af7235.tar.gz upstream-beddcfdc30e734df52c588ef4862de45b1af7235.tar.bz2 upstream-beddcfdc30e734df52c588ef4862de45b1af7235.zip |
gdb: update to 10.2
Replace some OpenWrt patches with openembedded ones for easier
maintainability. Remove several outdated ones as well.
Replace PKG_RELEASE with AUTORELEASE to avoid manual bumps.
Remove !arc dependency as it is supported upstream now.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/devel/gdb/patches/130-gdb-ctrl-c.patch')
-rw-r--r-- | package/devel/gdb/patches/130-gdb-ctrl-c.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/package/devel/gdb/patches/130-gdb-ctrl-c.patch b/package/devel/gdb/patches/130-gdb-ctrl-c.patch new file mode 100644 index 0000000000..88b5de9d8c --- /dev/null +++ b/package/devel/gdb/patches/130-gdb-ctrl-c.patch @@ -0,0 +1,35 @@ +From 63df98fa78c8a6e12b40ebdc5c155838d2bf8b5f Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Thu, 29 Nov 2018 18:00:23 -0800 +Subject: [PATCH 11/11] gdbserver ctrl-c handling + +This problem was created by the upstream commit 78708b7c8c +After applying the commit, it will send SIGINT to the process +group(-signal_pid). +But if we use gdbserver send SIGINT, and the attached process is not a +process +group leader, then the "kill (-signal_pid, SIGINT)" returns error and +fails to +interrupt the attached process. + +Upstream-Status: Submitted +[https://sourceware.org/bugzilla/show_bug.cgi?id=18945] + +Author: Josh Gao +Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + gdbserver/linux-low.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/gdbserver/linux-low.cc ++++ b/gdbserver/linux-low.cc +@@ -5714,7 +5714,7 @@ linux_process_target::request_interrupt + { + /* Send a SIGINT to the process group. This acts just like the user + typed a ^C on the controlling terminal. */ +- ::kill (-signal_pid, SIGINT); ++ ::kill (signal_pid, SIGINT); + } + + bool |