From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id kLN0KVRnOGjpWTkAWB0awg (envelope-from ) for ; Thu, 29 May 2025 09:55:32 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=akkartik.com header.i=@akkartik.com header.a=rsa-sha256 header.s=fm2 header.b=YVmhEW3C; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=SPz0Aw8r; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id A40711E11C; Thu, 29 May 2025 09:55:32 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-9.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE autolearn=ham autolearn_force=no version=4.0.1 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 4E3161E100 for ; Thu, 29 May 2025 09:55:31 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F25353857B94 for ; Thu, 29 May 2025 13:55:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F25353857B94 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=akkartik.com header.i=@akkartik.com header.a=rsa-sha256 header.s=fm2 header.b=YVmhEW3C; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=SPz0Aw8r Received: from fout-b2-smtp.messagingengine.com (fout-b2-smtp.messagingengine.com [202.12.124.145]) by sourceware.org (Postfix) with ESMTPS id BA38A3858C2F for ; Thu, 29 May 2025 13:54:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BA38A3858C2F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=akkartik.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=akkartik.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BA38A3858C2F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=202.12.124.145 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748526841; cv=none; b=Bw0kO/12P6DwiYEhen3vWsA+QhWC5CQmkiJUcPlUW0vJKvAS0sRLuvTXE9veEwCc57Hfg13RuVdfk1i+KEL0PrazedBOwLtQOix14AqEKcx5f4/2l6XC2GSnP0uyMtE0dDzlNp2qfRVzD4gQVaq6DYRAN8U+f0XC0A+VKjTFqSw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748526841; c=relaxed/simple; bh=mvL8yGWdjrO7VbvvEzBDJXV+m+jlfoY8ZUZPC/LUN/c=; h=DKIM-Signature:DKIM-Signature:MIME-Version:Date:From:To: Message-Id:Subject; b=ZTjvqWoX6MZ/Z1Ym1KJ8wL55JB3xPvBeyz1oqTfSskZP7sotvRn4rJKm4AmLEbmMqg8lk3O7wWzGaaJvLB23kjFZEgsZq6HO50qvocqS3cS3ELoA5CAni8XFvgSyFgD/8E1Scy5T4Qw9egrCXVPZ94JJPncZ+dP6T5PgIH6Nhh0= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA38A3858C2F Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfout.stl.internal (Postfix) with ESMTP id 42B4111400C7; Thu, 29 May 2025 09:54:01 -0400 (EDT) Received: from phl-imap-08 ([10.202.2.84]) by phl-compute-11.internal (MEProxy); Thu, 29 May 2025 09:54:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkartik.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1748526841; x=1748613241; bh=mvL8yGWdjrO7VbvvEzBDJXV+m+jlfoY8ZUZPC/LUN/c=; b= YVmhEW3Crt3EOO7oboGCtd/11w0jN63ktehEgC3MS8UmOZu1EhW9z3k+eqqt4aaj 5PtDgexYeQ5l7CcfuSYzYCEnarag5Otx3GbcYe9Ss7+6lnTfawzzeC8F+d8qWb13 MIBQv1sxl8HZQOWiQm9rhqQbcTc2IdSNfMFvr2Oy9l4/XV8Y2t1XE2Q/H+sOqqQo nymjH4BgTBTGPONL5UvN4Io6tzUm7UhcB1MP9mTXLzshxq7Dw4Q1dimQF9vPHipy hYdNbokn0wKleJeRFAuxRoNFjO6QWfYqu4x+5nNjv4SGqdcAF9dRgM/v+0MnabJx WDWattJ6d5KV3UcLZvM4Bw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1748526841; x= 1748613241; bh=mvL8yGWdjrO7VbvvEzBDJXV+m+jlfoY8ZUZPC/LUN/c=; b=S Pz0Aw8r1hJ0obyyATvNeexHVfn4dc9jK5nXyPNABkUs8JXFKyUT6P0CUZxzYckiX nxiQwhhoxJvKshlZDGXXn/jTd7kSFzt11AQNbNNEyrhFMSRR+hy0euDEyAqNypgq xKGHjzF9wqKpMQsixPJ6PreUakZK1azUIPRvxtBFlrdOojuQ2PwwM4ZjeoDMdOql HlhsUuYOaz722Sk3zxcNWT7KbVrxoJHPBR7CnkDA2bR7MfLAOaIsytWbuBfURq2X KQwSPj4LFPSfh1WT1lcDhEUZtq2/xT+ZTDqvjxvei8othCLJ+zKxz5pE3mfzVxIL QiZA/9WnL/WdlDHl1bX7Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddtgddvieeftdculddtuddrgeefvddrtd dtmdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggft fghnshhusghstghrihgsvgdpuffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftd dtnecunecujfgurhepofggfffhvfevkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhm pedfmfgrrhhtihhkucetghgrrhgrmhdfuceorghksegrkhhkrghrthhikhdrtghomheqne cuggftrfgrthhtvghrnhephfdutdevkedvhfevheehkefgheefjeduhfehtefhvddtfeeh heeltdefleeugfdunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheprghksegrkhhkrghrthhikhdrtghomhdpnhgspghrtghpthhtohepfedpmhho uggvpehsmhhtphhouhhtpdhrtghpthhtohepghhuihhnvghvvghrvgesrhgvughhrghtrd gtohhmpdhrtghpthhtohepghgusgdqphgrthgthhgvshesshhouhhrtggvfigrrhgvrdho rhhgpdhrtghpthhtohepthhomhesthhrohhmvgihrdgtohhm X-ME-Proxy: Feedback-ID: id12946ff:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id B709A2CE0060; Thu, 29 May 2025 09:54:00 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: T05b9059f6652f8fe Date: Thu, 29 May 2025 06:53:25 -0700 From: "Kartik Agaram" To: "Tom Tromey" Cc: gdb-patches@sourceware.org, guinevere@redhat.com Message-Id: In-Reply-To: <87y0ufy1wi.fsf@tromey.com> References: <20250529125138.1118538-1-ak@akkartik.com> <87y0ufy1wi.fsf@tromey.com> Subject: Re: [PATCH] RFC: gdb: redo whitespace-stripping from commands Content-Type: text/plain 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 Thanks for all your comments. On Thu, May 29, 2025, at 06:36, Tom Tromey wrote: > This should be bool and the constants above should be true/false. You're right, my knowledge of C is decades out of date. Fixed locally. Let me think about the best place to strip whitespace in subcommands and I'll submit a new version after that.