From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id KcsfC7cj0WrodxMAWB0awg (envelope-from ) for ; Thu, 15 Oct 2026 15:04:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1792091063; bh=NdpGUlm1YHr5dLC3s7uswdJb0LUsDIw733CFkx7Qez4=; h=Date:Subject:To:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=EcPmMzImw0yzaWwGkphZmADFwXd9F8E7PI+7LhQrnuSl5kOJwg2B8DyVQZQPhPbgF ZB+3ERT7ba++D1hDxnczP4LnIfA9bghjO2tfLCTGevos3erHF1OOxDeru1EDK2uDrO UVbyhGiDWb2KyLAIQEXdtjGA9OcaJam/jEPKCc+s= Received: by simark.ca (Postfix, from userid 112) id 0521D1E04E; Thu, 15 Oct 2026 15:04:22 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=G9A36w6C; dkim-atps=neutral Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (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 959D91E04E for ; Thu, 15 Oct 2026 15:04:21 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C8F504BA2E25 for ; Thu, 15 Oct 2026 19:04:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C8F504BA2E25 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=G9A36w6C Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id E39D94BA2E0D for ; Thu, 15 Oct 2026 19:03:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E39D94BA2E0D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E39D94BA2E0D Authentication-Results: sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1792091037; cv=none; b=KORMfLsYaNJ/TSUYljbdMJekqzWq9EYZe5671XPuwqnQPPj1NErJ9H48bsRsCwmc+UhXmErt9dwGM9k/TSmVgmQwXnEf11NOcZ6ks1QqKQyKOBu/wPqdaFMmYhNVYjvKKEIELfCMdT4UKxqSvSgd9jnMYMZ+CS4w+4iYl6gmALk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1792091037; c=relaxed/simple; bh=NdpGUlm1YHr5dLC3s7uswdJb0LUsDIw733CFkx7Qez4=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=WI8TiSG+GhUdDUoWDOLxfJ9+xwX75bVI/QALa6vveToY0/wE7ZadIeJH88jVQe45AMnXLNksNQDhmwCDk/buBH4m9yAoYrcA0KyHa0njG5+vaiXpRcqBL1eNykzoEq+29x5GTXS5lKVGZ6JuLj1boLmZD++3rEtBImGHycAGTJU= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=G9A36w6C DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E39D94BA2E0D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1792091036; bh=NdpGUlm1YHr5dLC3s7uswdJb0LUsDIw733CFkx7Qez4=; h=Date:Subject:To:References:From:In-Reply-To:From; b=G9A36w6C9VSS4XnVcDqpyZuOZEdax4miqq9gXai/oDoDV69ZBku49nxxkIiThRt68 U2uhZyek+VjkXe6CeqDSvXHUY3tNfzZgYgStDl3VhfhlTdJXgSPgRgrOMkifj9stwd 11/8HZyoYzar5pLfQkDMa0bqnOT5CnDU9uT/OaAs= Received: by simark.ca (Postfix) id 066051E04E; Thu, 15 Oct 2026 15:03:55 -0400 (EDT) Message-ID: Date: Thu, 15 Oct 2026 15:03:55 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] gdb, amdgpu: add config guards for AMD_DBGAPI_STATUS_ERROR_MEMORY_UNAVAILABLE To: Tankut Baris Aktemur , gdb-patches@sourceware.org, lancelot.six@amd.com References: <20261015181527.4178032-1-tankutbaris.aktemur@amd.com> Content-Language: fr From: Simon Marchi In-Reply-To: <20261015181527.4178032-1-tankutbaris.aktemur@amd.com> Content-Type: text/plain; charset=UTF-8 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 On 10/15/26 2:15 PM, Tankut Baris Aktemur wrote: > diff --git a/gdb/configure.ac b/gdb/configure.ac > index e0117ede292..7a437747e35 100644 > --- a/gdb/configure.ac > +++ b/gdb/configure.ac > @@ -368,6 +368,27 @@ if test "$gdb_require_amd_dbgapi" = true \ > AC_MSG_ERROR([amd-dbgapi not supported for host ${gdb_host}]) > ;; > esac > + > + # Detect if AMD_DBGAPI_STATUS_ERROR_MEMORY_UNAVAILABLE can be used. As a person who likes to clean up obsolete code, may I ask you to mention which dbgapi version introduced AMD_DBGAPI_STATUS_ERROR_MEMORY_UNAVAILABLE? This way it will become easier to spot when this configure check is no longer necessary. Simon