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 E79903858D39 for ; Tue, 14 Mar 2023 17:41:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E79903858D39 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 [172.16.0.192] (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) (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 2EC8F1E0D3; Tue, 14 Mar 2023 13:41:05 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1678815665; bh=dzG9DXaWoKkkOaJdBC/NBb+mdcLdJKgyQOx9LplGy0s=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=xWwC3f+8KA9r99oYFlJlMbOkFzw0H847Ar0gHqA26o+GNWcC5vpjTAercB1e4QN5S d1eekV8NGxoMIRDynf8jmEtDHqvUeV19zFQ1xQ/o7uHLVfIiTZNSKl8Gwk090fJx6I bZeQuT0lXkqSiUNZBt1gco93dyvTyhn4kOYSDYQI= Message-ID: <6977326f-b39f-fa92-3730-c0cadac1fc16@simark.ca> Date: Tue, 14 Mar 2023 13:41:04 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v2 1/1] gdb, breakpoint: add breakpoint location debugging logs Content-Language: fr To: "Schimpe, Christina" , "gdb-patches@sourceware.org" Cc: "eliz@gnu.org" , "blarsen@redhat.com" References: <20230313183427.2735278-1-christina.schimpe@intel.com> <20230313183427.2735278-2-christina.schimpe@intel.com> <958242df-7f89-f3e2-bbcb-ef3092fba24a@simark.ca> From: Simon Marchi In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 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: > I don't think I can do this due to the dependency to the function print_breakpoint_location. > So if I move it up above the function which first uses it (insert_bp_location) and remove > the forward declaration it won't compile or did I miss something? Good point, I didn't think about that. That's fine. Simonc