From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id WHZBBLX7QWiDUwIAWB0awg (envelope-from ) for ; Thu, 05 Jun 2025 16:19:01 -0400 Received: by simark.ca (Postfix, from userid 112) id 0D3271E102; Thu, 5 Jun 2025 16:19:01 -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.0 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE autolearn=unavailable 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 019251E0C2 for ; Thu, 5 Jun 2025 16:19:00 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BBFAC3856DE6 for ; Thu, 5 Jun 2025 20:18:59 +0000 (GMT) Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id E1A423857C67 for ; Thu, 5 Jun 2025 20:17:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E1A423857C67 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=efficios.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=efficios.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E1A423857C67 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749154621; cv=none; b=bG0Zk5WzBY2NTyvdrohrmN+LwC2CiP6ALs0E5OmruUMrsqEaJs7RHrv919cpWofMWSKe1x8z/SgDqYL4k1qHBgnuxVEk9CN+eF19770mb0isz/g2sEZhOMGNLaRGleCprS92wleu3YeQou3c6e3hisT1KaYqeo2SuxTxd+jJg4Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749154621; c=relaxed/simple; bh=w9/Zy7Y3Wl1gr/20H7bNnixKYC3m5JSnWqk2mG/d384=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=NgHGfX5QxVzwUiRfu6rQk0nTGn9daDvt5t16gpVoe6ROJPV0quSO8vN3CAEucKZpzK73YlayILCDb0f8cdWXMpQQZtl2WlF28TaxBvBTpPFO1syTyDpxqaVU7FuLyrp2BXxf6wE/1KBlPcFRpbaBlfQ9W6macM2tY6KYc9rChO4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by simark.ca (Postfix, from userid 112) id 715C81E12E; Thu, 5 Jun 2025 16:17:01 -0400 (EDT) Received: from localhost.localdomain (modemcable238.237-201-24.mc.videotron.ca [24.201.237.238]) (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 ESMTPSA id 3EFCD1E0C2; Thu, 5 Jun 2025 16:16:59 -0400 (EDT) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Lancelot Six , Simon Marchi Subject: [PATCH 1/5] gdb/amd-dbgapi: remove unnecessary AMD_DBGAPI_EVENT_KIND_NONE argument Date: Thu, 5 Jun 2025 16:16:24 -0400 Message-ID: <20250605201657.418206-1-simon.marchi@efficios.com> X-Mailer: git-send-email 2.49.0 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 Rely on the default value. Change-Id: I08c683de005806c5c5d29ed7f9b0c6de81b49a01 --- gdb/amd-dbgapi-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/amd-dbgapi-target.c b/gdb/amd-dbgapi-target.c index 8e067b66bd86..c11e834aa408 100644 --- a/gdb/amd-dbgapi-target.c +++ b/gdb/amd-dbgapi-target.c @@ -1473,7 +1473,7 @@ amd_dbgapi_target::wait (ptid_t ptid, struct target_waitstatus *ws, /* Drain the events for the current inferior from the amd_dbgapi and preserve the ordering. */ auto info = get_amd_dbgapi_inferior_info (current_inferior ()); - process_event_queue (info->process_id, AMD_DBGAPI_EVENT_KIND_NONE); + process_event_queue (info->process_id); std::tie (event_ptid, gpu_waitstatus) = consume_one_event (ptid.pid ()); if (event_ptid == minus_one_ptid) base-commit: f118937c181f008f78496d299873c879648d2d1a -- 2.49.0