From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 6atxB7mceGYloAkAWB0awg (envelope-from ) for ; Sun, 23 Jun 2024 18:07:53 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=w5fK1Lk7; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 113441E0C1; Sun, 23 Jun 2024 18:07:53 -0400 (EDT) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 002FD1E092 for ; Sun, 23 Jun 2024 18:07:50 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AF1F33865487 for ; Sun, 23 Jun 2024 22:07:50 +0000 (GMT) Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) by sourceware.org (Postfix) with ESMTPS id B379A384CB94 for ; Sun, 23 Jun 2024 22:07:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B379A384CB94 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B379A384CB94 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719180448; cv=none; b=jx1AZKc+NO6C91acKgEKfG9RArZLZmpEt/N0L6EtopyJIJrTdMzALXkrGmZrVAV2QRNhnWsSv+UwapkLqhzBWH2nzEhScaqdiYbcLQ666diaQ3gj36pe372aBVfNVZB97r+7JjQu6qp4SsYCmvEZKFveEASgpySYOBi7+YfhX7Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719180448; c=relaxed/simple; bh=pCgtUuvlCnbUhv+iU3H3KyMXm6bb7S55qwtQrEbQJ7s=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=X56FpexckqfnS63qNvvbgkmvZ75wSqdUMD7NWGQL7k8MX6jTguYEVMAzc7S9HzxNWjf7OX+TKL/oD7v1PJe6SmgQaahXJwU91S4ieQM5XhULMsjNUdaBzB+4iq41CnGKK8BM6P5Hu+HI6A68QkcYmeKIYTwNLKVKHkbbdzqrloQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5001a.ext.cloudfilter.net ([10.0.29.139]) by cmsmtp with ESMTPS id LTn2sBIHvSqshLVMtsgWKa; Sun, 23 Jun 2024 22:07:27 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id LVMssVYPbCaXoLVMssfhdw; Sun, 23 Jun 2024 22:07:27 +0000 X-Authority-Analysis: v=2.4 cv=deBL3mXe c=1 sm=1 tr=0 ts=66789c9f a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=T1WGqf2p2xoA:10 a=Qbun_eYptAEA:10 a=41B9_E73H3WU4ywYysMA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=jt/FG8qTDqi5+HVDwQaS0KneE6Az/1T1WnIm0/aVW0k=; b=w5fK1Lk75mSvR/8+WVCJeoY6Zv 9qK4QfXyT7Uu3aZSNqVvburLziGGLYV/Be9d9NYffnQUQywpNQcoWb0FzBqRiCGC9w0IHQuh2J7ak CmHGmAudKzh5V+1iYAGtgF59D; Received: from [172.59.231.67] (port=38367 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1sLVMs-003aw6-0E; Sun, 23 Jun 2024 16:07:26 -0600 From: Tom Tromey To: Paul Koning via Gdb Cc: Gulshan Singh , Paul Koning Subject: Re: `sys.exit` from Python no longer exits the GDB process In-Reply-To: (Paul Koning via Gdb's message of "Thu, 20 Jun 2024 15:37:00 -0400") References: X-Attribution: Tom Date: Sun, 23 Jun 2024 16:07:23 -0600 Message-ID: <87tthjwbxg.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 172.59.231.67 X-Source-L: No X-Exim-ID: 1sLVMs-003aw6-0E X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (prentzel) [172.59.231.67]:38367 X-Source-Auth: tom+tromey.com X-Email-Count: 4 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfDs9NCXS+M1eMKiqbTWmk48pnp5STBvhUjLeIzGW4fk16C5/dNJ9VS0sciugnnNJoRUTynnBgms7fJFUGMmX0VCKuFG5UFcCT7hY3DPAYDeKyCwlWvpY hwhv5QA6c5g3fsjcbVsMJp6em0HBjbIK2bPCZFZxwIfrDG3b6Y0o9ChzS5t0cjzFt6V1+d7XDXBD2g== X-Spam-Status: No, score=-3013.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, JMQ_SPF_NEUTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" > If all else fails, os._exit(1) should work, but I too wonder if this > change is intentional, and if so whether there is a way to control its > behavior. I think it's probably just a bug. I feel like we changed some exception handling stuff, maybe that change was too aggressive. Please file something in bugzilla -- no guarantees anyone will fix it but at least that way we have a spot to discuss, etc. Tom