From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id +U1tGvvenGrcDTAAWB0awg (envelope-from ) for ; Sat, 05 Sep 2026 23:33:15 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=polymtl.ca header.i=@polymtl.ca header.a=rsa-sha256 header.s=oct2025 header.b=GyWi6Li7; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 672041E091; Sat, 05 Sep 2026 23:33:15 -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 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 D665F1E091 for ; Sat, 05 Sep 2026 23:33:13 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7C6224BBCD91 for ; Sun, 6 Sep 2026 03:33:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C6224BBCD91 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=polymtl.ca header.i=@polymtl.ca header.a=rsa-sha256 header.s=oct2025 header.b=GyWi6Li7 Received: from smtp.polymtl.ca (smtp.polymtl.ca [132.207.4.11]) by sourceware.org (Postfix) with ESMTPS id 426BA4BB590E for ; Sun, 6 Sep 2026 03:32:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 426BA4BB590E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=polymtl.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=polymtl.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 426BA4BB590E Authentication-Results: sourceware.org; arc=none smtp.remote-ip=132.207.4.11 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788665562; cv=none; b=f7V9F7kcLhKH7PcsZ6xYljGWBuvhrDsr9clQ8tUpxCankwMxpwd4Q1f5ocDlAUUtA0P5OzIF/6WjDFd2OL88C2+Hm0JePoMVY7XXxLYC62jzdC87jTXu6ontISOXSz8EoebuKH4eaeF64/RCpe4Gggb3pkrMuuC2OSD3X2dbXYg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788665562; c=relaxed/simple; bh=EaxrIZu9U6smn1NfyHXr1lc5J+O9EjwyK1ZHYdNe3Ec=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=gk57FTMOzKvOLv+yjc8Zm0FVWIuAcir33j7xLxfZLEk4iXnVvlLbT8hhOdj0KAU6PKYQO6VjloInNLBgxz6WTUwjoRT3iN4e/v6zeQ95yuWjkotKXSR0FtpEPutm/gokqqd/n1MP7ue9OZ0+IJaqXb+AOCOASKayuZbhQsBnNQM= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=polymtl.ca header.i=@polymtl.ca header.a=rsa-sha256 header.s=oct2025 header.b=GyWi6Li7 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 426BA4BB590E Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 6863WWrv151670 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 5 Sep 2026 23:32:38 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 6863WWrv151670 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=oct2025; t=1788665558; bh=K8sf43EV1Y0aXuhfRd55eemOAaemywbpQQ0jqntcmmY=; h=From:To:Cc:Subject:Date:From; b=GyWi6Li7D6PHqjZtiaf8vL6uXLUACssCEAHa4lQutF2vgVVWdQF097GlmJpVlimnq UEXF2SQrPrlhEbYl85c4E+0Ov+rRkGWgbv48cVYRWfpYk8Z5Xewn2Az7+aUIrnSLun tHhfix/5BGoaoKIT2XeHaJ+HYGd08b5fDJflrIUd1dKaCybVoG9neL19mxssJ3TkJm x7hPOw8RI2IjCEpbLL3RuuAjAoIipKFzlBjyS0ACmXnbHkq+SAW+FiUW+Ss0PnooK7 2KEZrzkVe+6uuaWqCwRoCfATWsILDR2KtOpiY3AmUMJPwkUk0BeHhIkWLQmSFdXzAL e4dmyBIEiqqcA== Received: by simark.ca (Postfix) id 0B4C61E091; Sat, 05 Sep 2026 23:32:32 -0400 (EDT) From: simon.marchi@polymtl.ca To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [pushed] gdb/testsuite: adapt gdb.rocm/symbol-lookup.exp to amdclang++ Date: Sat, 5 Sep 2026 23:32:29 -0400 Message-ID: <20260906033231.3548729-1-simon.marchi@polymtl.ca> X-Mailer: git-send-email 2.55.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Sun, 6 Sep 2026 03:32:33 +0000 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 From: Simon Marchi When pushing commit 822c4cd732ce ("gdb: multiple solib_ops per program space"), I failed to adapt the code to the changes introduced by commit 382e5c4d32f6 ("gdb/testsuite: replace hipcc with amdclang++ as the HIP compiler"), causing: invalid command name "allow_hipcc_tests" This patches fixes two issues: - allow_hipcc_tests -> allow_hip_tests - --genco -> --cuda-device-only This mirrors what was done by commit 382e5c4d32f6 in file gdb.rocm/code-object-load-while-breakpoint-hit.exp, which builds a standalone device code object in the same way. With this, the test passes here (76 PASSes) instead of erroring out. Change-Id: I5dca6cceb0ea48041b35f53f78338019b08a0e6d --- gdb/testsuite/gdb.rocm/symbol-lookup.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/gdb.rocm/symbol-lookup.exp b/gdb/testsuite/gdb.rocm/symbol-lookup.exp index ce74e74177a5..6cae7dbfe5b4 100644 --- a/gdb/testsuite/gdb.rocm/symbol-lookup.exp +++ b/gdb/testsuite/gdb.rocm/symbol-lookup.exp @@ -48,7 +48,7 @@ load_lib rocm.exp standard_testfile .cpp -require allow_hipcc_tests +require allow_hip_tests # Build the main program. if { [build_executable "failed to prepare" \ @@ -79,7 +79,7 @@ foreach n {1 2} { # Build the ROCm code object N if { [gdb_compile $srcdir/$subdir/$srcfile $code_object object \ - [list debug hip additional_flags=--genco additional_flags=-DCODE_OBJECT_$n]] != "" } { + [list debug hip additional_flags=--cuda-device-only additional_flags=-DCODE_OBJECT_$n]] != "" } { return } } base-commit: 0f6f5333711f8b34f71276c3368f21baebf52c41 -- 2.55.0