From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 8CeGK0GsE2rPxRYAWB0awg (envelope-from ) for ; Sun, 24 May 2026 21:56:17 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=YCZZ+q9h; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 9D45D1E024; Sun, 24 May 2026 21:56:17 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (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 AEE471E024 for ; Sun, 24 May 2026 21:56:16 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 305B04BABF03 for ; Mon, 25 May 2026 01:56:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 305B04BABF03 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=YCZZ+q9h Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id D98FC4BA903B for ; Mon, 25 May 2026 01:55:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D98FC4BA903B Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D98FC4BA903B Authentication-Results: sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1779674153; cv=none; b=BbcSDadi0YJK/P0gAlC8Zg4eQgJbDaNbtb82G1oILChKt9pte7+GNfgu/JvZDvhk1SWp+exzTDut+nCKv7Sw3OMPIDkA0nJ538GQ/t6Ze6WnsEneE45cGg0qlfP3tlooG64w0ixJpv63kVAuFKvn2JZnRxK91bGmfgbLZ4F34Wk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1779674153; c=relaxed/simple; bh=zIyxnoMoB7XhqPT94RiwU8+NcGB6fJUtnMqFY7wgr5k=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=DN8ymAxm4bVvh0qCNiu4HYxIv7lPQGfrjrsDN25hSVLpVD6PdPD527+EDeXOyZ/Qm6KWVEpCNGdqLJI4eOQjR9x5xWcx9Fs1FGIDQrFZDNK0AOliDyMyQJ071vPD1qUAe+hPRIxP9PAGoOmAzYU7dVHyeyWIxPlQiZ37TMQPLzc= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=YCZZ+q9h DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D98FC4BA903B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1779674152; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2oZtFdHoouZ4q3EraHVZ03AOgfRgQ6KhrCrpNOvcNU0=; b=YCZZ+q9hfDSMEk3fAVpBpltEgmOmwkXPDvrY0xkAOLFssMJMAS8RbE3d40AE0fGEqLRoLo KqftpIDuwZkpYQnNHRFVd8A7iejOtw1P67nc9XsTek7pLOW1gZVGK17WL1MRv4oA4MLsdx M/eGEFpJc20ZVeM7oZeeFwpVDOfHuo8= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-41-J7vRcAxqOeSolC5QxJbSwQ-1; Sun, 24 May 2026 21:55:49 -0400 X-MC-Unique: J7vRcAxqOeSolC5QxJbSwQ-1 X-Mimecast-MFC-AGG-ID: J7vRcAxqOeSolC5QxJbSwQ_1779674148 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C15E11956080; Mon, 25 May 2026 01:55:47 +0000 (UTC) Received: from f42-zbm-amd (unknown [10.22.64.64]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 809151800591; Mon, 25 May 2026 01:55:46 +0000 (UTC) Date: Sun, 24 May 2026 18:55:44 -0700 From: Kevin Buettner To: Tom de Vries Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] [gdb/python] Boolify gdb_python_initialized Message-ID: <20260524185408.6b749170@f42-zbm-amd> In-Reply-To: <20260524123022.1211375-1-tdevries@suse.de> References: <20260524123022.1211375-1-tdevries@suse.de> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: IXB19hI8Z8wN0sMQn10SnSZfBbbEF-dyEX2vb1g3zyg_1779674148 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On Sun, 24 May 2026 14:30:22 +0200 Tom de Vries wrote: > I noticed that while gdb_python_initialized is an int, there's also an > assignment using false: > ... > gdb_python_initialized = false; > ... > > Fix this by converting gdb_python_initialized to bool type. LGTM. Approved-by: Kevin Buettner