aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/lib
diff options
context:
space:
mode:
authorLancelot SIX <lancelot.six@amd.com>2022-02-18 10:05:51 -0500
committerPedro Alves <pedro@palves.net>2022-03-10 11:35:54 +0000
commitc6479f8b2ab32c8a1659054104f2d0176a466cb3 (patch)
treed7aa78820bd493e8534a84a0ada33cb4e9cf2119 /gdb/python/lib
parent8a841a3579bf1f8eb2414cbc3b2afae6bc59ac8a (diff)
downloadbinutils-c6479f8b2ab32c8a1659054104f2d0176a466cb3.zip
binutils-c6479f8b2ab32c8a1659054104f2d0176a466cb3.tar.gz
binutils-c6479f8b2ab32c8a1659054104f2d0176a466cb3.tar.bz2
Process exit status is leader exit status testcase
This adds a multi-threaded testcase that has all threads in the process exit with a different exit code, and ensures that GDB reports the thread group leader's exit status as the whole-process exit status. Before this set of patches, this would randomly report the exit code of some other thread, and thus fail. Tested on Linux-x86_64, native and gdbserver. Co-Authored-By: Pedro Alves <pedro@palves.net> Change-Id: I30cba2ff4576fb01b5169cc72667f3268d919557
Diffstat (limited to 'gdb/python/lib')
0 files changed, 0 insertions, 0 deletions