From: Lancelot SIX Date: Fri, 21 Mar 2025 11:23:24 +0000 (+0000) Subject: gdb/testsuite/lib/rocm: Drop hip_devices_support_precise_memory X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=da72ce7ff1bf4582214360439fe5a46e11be5a15;p=thirdparty%2Fbinutils-gdb.git gdb/testsuite/lib/rocm: Drop hip_devices_support_precise_memory Remove hip_devices_support_precise_memory as this is not used anymore. Change-Id: If5e19cf81f8b8778ee11b27d99b8488562804967 Approved-by: Pedro Alves --- diff --git a/gdb/testsuite/lib/rocm.exp b/gdb/testsuite/lib/rocm.exp index 3eb51dbb52f..5164f1e1c88 100644 --- a/gdb/testsuite/lib/rocm.exp +++ b/gdb/testsuite/lib/rocm.exp @@ -176,22 +176,3 @@ proc hip_devices_support_debug_multi_process {} { } return 1 } - -# Return true if all the devices on the host support precise memory. - -proc hip_devices_support_precise_memory {} { - set unsupported_targets \ - {gfx900 gfx906 gfx908 gfx1010 gfx1011 gfx1012 gfx1030 gfx1031 gfx1032} - - set targets [find_amdgpu_devices] - if { [llength $targets] == 0 } { - return 0 - } - - foreach target $targets { - if { [lsearch -exact $unsupported_targets $target] != -1 } { - return 0 - } - } - return 1 -}