From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id AB6F33858D32 for ; Thu, 25 May 2023 15:50:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AB6F33858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca Received: from [10.0.0.170] (unknown [167.248.160.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 0FE6C1E0D6; Thu, 25 May 2023 11:50:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1685029844; bh=mQHZo0WEw1fPEKQw+i9KV99ctsV2t9W7TvkGYbtazKw=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Pp/BAgeCxwCYKfyt+b3CIJQxaBneuoMI8TpOouCDtwydPebTIS3RYQwjEWk2bOiz7 zEMKVozVzZhNXstciiFqUEidANDoi0F1XHVefI8a7YwVVY1ssvdSxW4TFk1GZCOlPQ nlyPhytWMvFEsHw9W3sXcLI+X9N/1ZKj9Ku5zmvE= Message-ID: <6aec61f9-fda3-61ed-399f-661220e0741f@simark.ca> Date: Thu, 25 May 2023 11:50:43 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] Make MI commands const-correct Content-Language: fr To: Tom Tromey , gdb-patches@sourceware.org References: <20230525144426.3659493-1-tom@tromey.com> From: Simon Marchi In-Reply-To: <20230525144426.3659493-1-tom@tromey.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 5/25/23 10:44, Tom Tromey wrote: > I've had this patch for a while now and figured I'd update it and send > it. It changes MI commands to use a "const char * const" for their > argv parameter. I didn't read all the patch, but if all you do is add some const, and it builds, I don't really see how it can break things. Acked-By: Simon Marchi Simon