summaryrefslogtreecommitdiff
path: root/scripts/lib/wic/help.py
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:25 -0700
commit435f671981a090bd06e8f3bf3436d58d531afd49 (patch)
treee6e58387018188f45c3452cecf3fcbfeaa5650f7 /scripts/lib/wic/help.py
parentb76903b4b7bfec71be0a8a14e2cab4e2ec852222 (diff)
downloadopenembedded-core-435f671981a090bd06e8f3bf3436d58d531afd49.tar.gz
openembedded-core-435f671981a090bd06e8f3bf3436d58d531afd49.tar.bz2
openembedded-core-435f671981a090bd06e8f3bf3436d58d531afd49.zip
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). Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/wic/help.py')
0 files changed, 0 insertions, 0 deletions