[Bug gdb/34052] kill should call TerminateProcess with non-0 exit code [Windows]

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Tue Apr 14 15:58:06 GMT 2026


https://sourceware.org/bugzilla/show_bug.cgi?id=34052

--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=14415fcedb9cf147bca46115c84a7d2e8cea574d

commit 14415fcedb9cf147bca46115c84a7d2e8cea574d
Author: Luca Bacci <luca.bacci@outlook.com>
Date:   Fri Apr 10 13:49:44 2026 +0200

    PR 34052 kill: Terminate inferior with non-zero exit code on Windows

    Don't terminate the inferior with exit code 0 (a 'success' exit
    code). Rather, use the standard exit code 137 as with SIGKILL on
    Linux.

    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34052
    Reviewed-By: Andrew Burgess <aburgess@redhat.com>
    Approved-By: Tom Tromey <tom@tromey.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list