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 ADC473858D28 for ; Wed, 15 Feb 2023 16:38:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ADC473858D28 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.111] (modemcable162.249-56-74.mc.videotron.ca [74.56.249.162]) (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 4186E1E110; Wed, 15 Feb 2023 11:38:45 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1676479125; bh=cGbn9cfRwXiMB583EXesjYue4WsvO3l/noPhhrJ2JOE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=d8UW/fpCxeflvGW77WzCks4UZyFey/YnjEE2vtldiNiuW+gc6xScQzS9ZCOpH2D6y GK7chGHEUlJZuv2f7BscSUvl8uLLWR4cXPAbG2ZAPXletAbp2TVOETdHw4kPPh7oSK WXAavv/cX2k5QtwD/+6RndzMLr4zMZZOHgAbP0Vo= Message-ID: <9c724b6a-7ff5-3a86-4065-c8cc1aa2383e@simark.ca> Date: Wed, 15 Feb 2023 11:38:44 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH v2 2/3] gdb: add constructor to internalvar To: Tom Tromey , Simon Marchi via Gdb-patches Cc: Simon Marchi References: <20230214192327.318301-1-simon.marchi@efficios.com> <20230214192327.318301-2-simon.marchi@efficios.com> <87k00krnc5.fsf@tromey.com> Content-Language: fr From: Simon Marchi In-Reply-To: <87k00krnc5.fsf@tromey.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.6 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 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 2/14/23 15:42, Tom Tromey wrote: >>>>>> "Simon" == Simon Marchi via Gdb-patches writes: > > Simon> Add a constructor that takes the name as a parameter. Initialize the > > This is truncated. Woops, it should have read: gdb: add constructor to internalvar Add a constructor that takes the name as a parameter. Initialize the next and kind fields inline. Simon