From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta038.useast.a.cloudfilter.net (omta038.useast.a.cloudfilter.net [44.202.169.37]) by sourceware.org (Postfix) with ESMTPS id E63503858D33 for ; Tue, 20 Feb 2024 15:30:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E63503858D33 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 E63503858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708443015; cv=none; b=NyUtCIjKz5HDty6BS6twQgmAIBP4JnDds9DkdCChz+pjCCbDhrdH63xrOL76Mfa9P7Wc7iqt8w4umMgB8YMWNKmKoQ8hjJLBBOBbVAZUVmt+ANaeH70OtUhFjZXyAyeaPNGgzC1zTP0OkRD4m5ODMv2nhrdb9NExCbMaEXwYGKw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708443015; c=relaxed/simple; bh=1Y2aPqxkf4P1E1F3VfVo6+vZ7DgNwP+EbqAztXBDAHk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Y/McYh5XXeErgMfPF76HcaTf3S/xH8pauTYXj0ZJ0lN8nycdzE+55NWl7zIpT/GAIoDmULY+DxhjPKjMt3/E5nThWrtJLjt1clM/mEdYjcUUpo17uRNSziAgb/sNIpGIPm+ooTYgMJ9CCaYQKYZHuuB+44blA7OoiJxihCjw4jQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5004a.ext.cloudfilter.net ([10.0.29.221]) by cmsmtp with ESMTPS id cPpBrFRL99gG6cS4RrXyeN; Tue, 20 Feb 2024 15:30:11 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id cS4Qr7NzL1f7CcS4Rrkhth; Tue, 20 Feb 2024 15:30:11 +0000 X-Authority-Analysis: v=2.4 cv=dOUFm/Zb c=1 sm=1 tr=0 ts=65d4c583 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=k7vzHIieQBIA:10 a=Qbun_eYptAEA:10 a=KiiCtM3xlwChoRLlopQA:9 a=vsCvvem9CHYA:10 a=6KDmPahKW5ILxopYhpMU:22 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:In-Reply-To:Date:References :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=f64YV7Xgsro7dB5KcUStfjF8lKtG7/5qogfOMggaQZQ=; b=Zle1GwSD9RPYiVG4Ru2EF/f1VI Eufw4uR/kGuayuy9D7tcg80QxIa+c3AX+w83xe35Ztr4gO4uiIy7DLAAh3RrSSVLbRDEk2HkE9E7D dzcwSTr4wccP1wH1rQ+dzX7Jq; Received: from 71-211-170-195.hlrn.qwest.net ([71.211.170.195]:45008 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rcS4Q-003orU-0x; Tue, 20 Feb 2024 08:30:10 -0700 From: Tom Tromey To: Tom de Vries Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 2/8] [gdb/dap] Factor out thread_log References: <20240219082341.21313-1-tdevries@suse.de> <20240219082341.21313-2-tdevries@suse.de> X-Attribution: Tom Date: Tue, 20 Feb 2024 08:30:09 -0700 In-Reply-To: <20240219082341.21313-2-tdevries@suse.de> (Tom de Vries's message of "Mon, 19 Feb 2024 09:23:35 +0100") Message-ID: <87msrv2lxa.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) 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: 71.211.170.195 X-Source-L: No X-Exim-ID: 1rcS4Q-003orU-0x X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-211-170-195.hlrn.qwest.net (murgatroyd) [71.211.170.195]:45008 X-Source-Auth: tom+tromey.com X-Email-Count: 6 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfL8kvBc3JYF1L6mMOzexreBrIVnzc2CtdKi14nKmo+/d1XIy6pqYUeWUEsSGKCBxVAdCMnwNwyfVJWt7TdKAEr2bJZJ+EscyQF3RTmMKqShq2n6JupqH L9zXFPnuxa2QU8+0umqVrsm8+NwzZtp1A8LPknifiQWLuQ74A3v3KYm63d70XBXmWZ4GAwzVEo0QNKQsZX7kq2wDPk5cgxvU3AA= X-Spam-Status: No, score=-3016.4 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,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Tom" == Tom de Vries writes: Tom> +def thread_log(something, level=LogLevel.DEFAULT): Tom> + if threading.current_thread() is _gdb_thread: New exported functions should have a doc string. Tom