summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorZhixiong Chi <zhixiong.chi@windriver.com>2018-09-18 19:26:35 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-20 05:41:32 -0700
commit9eb4e056c52094d6badd5f3b8f7bd3c8a49393b2 (patch)
tree31fc7b2156479faec3184c05b04c53bd5bc73fb0 /meta/recipes-extended
parent7796602c9569121101aef81916f193078e0d9600 (diff)
downloadpoky-9eb4e056c52094d6badd5f3b8f7bd3c8a49393b2.tar.gz
gdb: gdbserver: update ctrl-c handling
A) gdbserver sends SIGINT not to the process, but to the process group (-signal_pid). But the attached process is not always a process group leader. If not, "kill (-signal_pid, SIGINT)" returns error and fails to interrupt the attached process. We cannot interrupt the process attached with gdbserver who is not a process group leader. This problem was created by the gdb upstream commit 78708b7c8c The commit fixed the following case B) bug. B) We cannot interrupt the process attached with gdbserver whose main thread exits (pthread_exit()). Now this patch can solve both A) and B). (From OE-Core rev: 435f671981a090bd06e8f3bf3436d58d531afd49) Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
0 files changed, 0 insertions, 0 deletions