From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id NfkfIRerO2j2fzwAWB0awg (envelope-from ) for ; Sat, 31 May 2025 21:21:27 -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=RqRkr+PS; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=aZRd+6+C; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 72CF41E102; Sat, 31 May 2025 21:21:27 -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 9788B1E089 for ; Sat, 31 May 2025 21:21:25 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BB2E33858C50 for ; Sun, 1 Jun 2025 01:21:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB2E33858C50 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=RqRkr+PS; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=aZRd+6+C Received: from fout-b6-smtp.messagingengine.com (fout-b6-smtp.messagingengine.com [202.12.124.149]) by sourceware.org (Postfix) with ESMTPS id 2B5D93858D20 for ; Sun, 1 Jun 2025 01:19:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2B5D93858D20 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 2B5D93858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=202.12.124.149 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748740791; cv=none; b=fdaDhWN3Y5YLDw/7EvWW2OAKWJm0Ymy510SWZrZJz8LFHmBV/nbB/AUzK+0pSEVZdvd7AJM3fw3j/dV7UR+Tfaa3IDOCrIp0iyMcsaoD3Uqzb3NJ9DIa2mndQMkfMbnJI0/E7bQBema7jsx9dQIdCQ4nnlIe/4wZliSic6Q1Sug= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748740791; c=relaxed/simple; bh=5lxmtrWlKhSXpIl/Wfr63ijJdDkxdu6i7L1vowq4MRk=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=bExD7yfkfPC3HGXM1aD7IxcPgxyDvNzblmo8FUtwacE1FtFlGVcF/ZCVnugi2cx3D36PTF65u3IZ12tbNnVHt7NNN6s5aSCrlSOmxoX3tfvE/upnHi0ipgAQfdLPpE1Xp10mAstAkR+s5PCLKebvwtxFCy0RvNzt0HLunE/qGSQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2B5D93858D20 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.stl.internal (Postfix) with ESMTP id 7316F1140104; Sat, 31 May 2025 21:19:50 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Sat, 31 May 2025 21:19:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkartik.com; h= cc:cc:content-transfer-encoding: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=1748740790; x= 1748827190; bh=pVlmUdhoiQkAESYVKpgAIPL8ZuPbrEOtiBRg54n5RPw=; b=R qRkr+PSkrIKcbI9S9H8kNhQtlDMc7cKDdwbQYTnmru9oIB1t5AfeE15YtrqAKE7D AZIwpRN1SHAgVulkA4Vw0FzZ29vm/uINzUG0ujc0gssajSJgiAQCDkUcO7+AMF3L 97k9H83+WpNPX5Xd3sZcg0UJtzaC0TKY/2JLILrzP7iJIJGVf7KvTPnXyL34HCln tiSY7/KszochYolRE9QQ7DmSCU01LJJPbTQi5Czz+XjeM/MdFBdTFXNJqQYOAxSW jO3FGgUGlqBlE744DdRdqnIVSktZTeiX1UhD0mK8nYlPvdpwi3NMtg2yr9wQJRT7 Ma6VwaDxCqe0p76VHGtIQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=1748740790; x=1748827190; bh=p VlmUdhoiQkAESYVKpgAIPL8ZuPbrEOtiBRg54n5RPw=; b=aZRd+6+C8eZYEM1Uu 3NeELxB0PsvmkZ5t8GQbWpPZoE9LnNkr4341nwORXd9g1hZdRMDYoVm6zG0/AqHe l9wOAGoQZinrjHwH4bEdCOc/kMHmZv6EXitnRvAytJo+yTKw1WgynIBD4T1Z620B /30J1C12jik/GW17ZeK4JvseSrECKtZc9O5OHfH3Zofe71ul0J0I9ahFgeXbx8eR Xfk5v0ppex6gA+S60HErqv2O4h986yBWCJNMpSi0y7GveKE04Lx9a8zBFbdnogee WtZ8WXUxMGhclEVhzr14cdDoJu87mIkg/4Ae1/p8XVvh8sMGrKrQiNKHGrOs+QLv LyPBQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddtgdeffeeggeculddtuddrgeefvddrtd dtmdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggft fghnshhusghstghrihgsvgdpuffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftd dtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhep fdfmrghrthhikhcumfdrucetghgrrhgrmhdfuceorghksegrkhhkrghrthhikhdrtghomh eqnecuggftrfgrthhtvghrnhepgfevgfdvleejhffhgfekgeelueevlefffeffudehkedt lefhueejledufeetgfejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomheprghksegrkhhkrghrthhikhdrtghomhdpnhgspghrtghpthhtohepvddp mhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepghgusgdqphgrthgthhgvshesshhouh hrtggvfigrrhgvrdhorhhgpdhrtghpthhtohepghhuihhnvghvvghrvgesrhgvughhrght rdgtohhm X-ME-Proxy: Feedback-ID: id12946ff:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 31 May 2025 21:19:49 -0400 (EDT) From: "Kartik K. Agaram" To: gdb-patches@sourceware.org Cc: guinevere@redhat.com Subject: gdb: redo whitespace-stripping from commands Date: Sat, 31 May 2025 18:17:10 -0700 Message-ID: <20250601011941.204158-1-ak@akkartik.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250529125138.1118538-1-ak@akkartik.com> References: <20250529125138.1118538-1-ak@akkartik.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 All tests pass now. > Open question: This patch stops stripping trailing whitespace from all > 'with' commands. Might that create issues with other 'with' commands besides > 'with ... -- complete'? I've answered this question to my satisfaction. 'with' recursively calls execute_command, so other 'with' commands besides 'set' or 'complete' will result in the following timeline of events: execute_command() - command is 'with' so don't strip whitespace - execute_command() - command is not 'with' or 'set' or 'complete' so strip whitespace - ...