diff options
author | Lancelot SIX <lancelot.six@amd.com> | 2022-02-18 10:05:51 -0500 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2022-03-10 11:35:54 +0000 |
commit | c6479f8b2ab32c8a1659054104f2d0176a466cb3 (patch) | |
tree | d7aa78820bd493e8534a84a0ada33cb4e9cf2119 /gdb/python | |
parent | 8a841a3579bf1f8eb2414cbc3b2afae6bc59ac8a (diff) | |
download | binutils-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')
0 files changed, 0 insertions, 0 deletions