From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id YeSaJVYkRWolOiEAWB0awg (envelope-from ) for ; Wed, 01 Jul 2026 10:29:42 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=RjU5182l; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 948631E098; Wed, 01 Jul 2026 10:29:42 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,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 4D52B1E024 for ; Wed, 01 Jul 2026 10:29:41 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5299B4BA2E2E for ; Wed, 1 Jul 2026 14:29:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5299B4BA2E2E Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=RjU5182l Received: from CO1PR03CU002.outbound.protection.outlook.com (mail-westus2azon11010067.outbound.protection.outlook.com [52.101.46.67]) by sourceware.org (Postfix) with ESMTPS id D30C84BA5436 for ; Wed, 1 Jul 2026 14:29:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D30C84BA5436 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=amd.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D30C84BA5436 Authentication-Results: sourceware.org; arc=pass smtp.remote-ip=52.101.46.67 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1782916152; cv=pass; b=gqrQb6f1IF7+4v8KbtvB4nKm8wxyIBtr4H1C16fZNhk6Mxoo+yf/wjLHpzP6YgoMFKz2JRDTJ1PB0QTfihcvHZGKa/f95FowueNy74wZ+1jkUIqJ81UMygd4GTZab7WGUy9fhGfGbGHAC128ViNmlfxCwwYKnpaoG1Npofrhhtk= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1782916152; c=relaxed/simple; bh=I6TOg5vqHGgRORN8JZLsfjxl6d6BXiJhvft266GP7uI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=p37A0QmgjcItg9w/w8opUTeb7OzT0D0CSuOQZrASkzHuD/kFZtDgc/YvoEXroOzbXKVzHP87KZo4l2ZEkuhAIvjXyo0xXoreyqjlrOObEX0n5XNtPuWbOoX+SNpbK9PwhG58mlrkqzarSHUNLgnwYYMvV/oHS/jdPDVd8+uF1+0= ARC-Authentication-Results: i=2; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=RjU5182l DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D30C84BA5436 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lZF0JqzBXIrgyi67zNliRNcbyUuX2oFRrbOEctHR4dKLCAS3ouhbvaT85MVCJ7nN7DmWZdIy9N9zm6FLaoKJ4tp18Fv4Pi4DQ2v53n1Ct79aDXZtt6ZdkOZD4GVARcnEVlOrO3IwxbT69xVSbVK/t9s6cQ8o4vZUZOjmccSSmbUBHT+8mpJRkqBHNVnLyWaykLIFkQH3Z713ZOKb/gqAPcpIR1s3M18P6cbdnJFtjbeUITvG+F+/SPX74dqJDfzBri5lrw4sx81gM503t3WGeyBvvXAMpf9/N/Bl+9+kOeL5sImtEGxnNXUTI4B89Sda2qj7ns4pi1WioxwAfsC6bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hy5X+1YQRGv4x5aqzd5PUR7zXyDcbVLTsXl5qgRac8g=; b=rV4z0JwsmeVc8teu/PXOY3u2gsyRn7L38P5z947HoikwM3N4IJ5JXyiYCOo4wqpzwy04mg8k0QLXxqMSTD3SuuA1xZblzv9Xau+Dehu64vZ3ay5pCjR+8ovlIbiokarXHdYlLPImBU1a5fXFEggCWLQJ05LQK8fjpEah/9oxV6m/RR+9n58s+RjHlyXWadxOO/Olpj2bLsUldcIdFVaGwR0pfkwwszjp7cuhYrv3y/3S1vhx0blJMWR+7ak8Vp8pBEY0whntUfKph9gosdV5URKTKT/KCUif5snLQJoJr1lNThvD3rFi6Gy8/aysxdd8OTazd5UoBWF6SlPh9pWKow== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=sourceware.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hy5X+1YQRGv4x5aqzd5PUR7zXyDcbVLTsXl5qgRac8g=; b=RjU5182lrVOPvTt2M7fkloagLg/1sUw1nGs6NLygZPDouT44R6HX9CVCXFMHfSmxyI6TpH6+Ieoif26Kv76+RAyshu3RIvW3FwlB1j+2JfT8xugEPvU90+5M9FjqWeGtDDAP3BJTrSMiieNWlNKpyCqBnOcsnPqF7L+hv2BTsfM= Received: from SJ0PR03CA0341.namprd03.prod.outlook.com (2603:10b6:a03:39c::16) by IA0PPF6483BC7EA.namprd12.prod.outlook.com (2603:10b6:20f:fc04::bcf) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.181.9; Wed, 1 Jul 2026 14:29:04 +0000 Received: from SJ1PEPF000026C5.namprd04.prod.outlook.com (2603:10b6:a03:39c:cafe::a1) by SJ0PR03CA0341.outlook.office365.com (2603:10b6:a03:39c::16) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.181.9 via Frontend Transport; Wed, 1 Jul 2026 14:29:04 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=satlexmb07.amd.com; pr=C Received: from satlexmb07.amd.com (165.204.84.17) by SJ1PEPF000026C5.mail.protection.outlook.com (10.167.244.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.181.6 via Frontend Transport; Wed, 1 Jul 2026 14:29:04 +0000 Received: from ctr-rack32-mi300x-1.amd.com (10.180.168.240) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.41; Wed, 1 Jul 2026 09:29:03 -0500 From: Tankut Baris Aktemur To: CC: Subject: [PATCH] gdb, amd-dbgapi-target: use PRIu64 and PRIu32 Date: Wed, 1 Jul 2026 09:28:46 -0500 Message-ID: <20260701142846.2566570-1-tankutbaris.aktemur@amd.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: satlexmb08.amd.com (10.181.42.217) To satlexmb07.amd.com (10.181.42.216) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PEPF000026C5:EE_|IA0PPF6483BC7EA:EE_ X-MS-Office365-Filtering-Correlation-Id: 2599e32f-a115-4990-4f37-08ded77d1a44 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|36860700016|1800799024|23010399003|82310400026|18002099003|11063799006|56012099006; X-Microsoft-Antispam-Message-Info: vfq/CcDJm+5FBK5dQt/+fAfqkkbSsn84CJ2B8yr0upU3gekr6cOaEYAOfq7crmDabmgAkD42wfO7lcd4a6ItcN4PkZd1JA8mQGO59P/KxSjKuyMCOs/U+tkzflukhXs4/lOrqhSb3jg9GuD1U/H+V4x9GQq07j2WNqON1Ahen7HB6cCQHv9SVTG0F9L0EdG9wvyRTF8Fw8q/St/rh9ToFq1RD8FBkwB1BW/TocLZs2n3QDXlWOHetlPFyCRGb0oY3aDTUkkvmXzuT05fLJHD/TyiJ/R3qlpmC8u3BlUJL5f/yDntG50P42yYfrvjdMsJeiEMhwQlXEXEacqJUb+EY/z/BKxHooI7BZtj1QeLF+Z9b3wuVv4eJ0zjtv4IcE7cXjudYi6c1C0+weRljFLYlUDy6kr2UNhEaTzRjDh+7w9MoCH7s9SD4MpAEJS4NIOJJia+CgIZN2QQasZonbjcDAU3zPOuN7oAsWtPmPLE+qK1dY7jEqN63VAh6QWAtEW3KZmVn8bqTVddV7NEYK7Tem1hxSlrzlFzUcHXkdKEoOaE0aXhIeMGbi1k7z7H83rPFSrtZQ6f62qL11YSrAjcmfqhb2h85aZU4qtc74sbuKK8kFN6OWKcJBSYH9Fkhp5MXjsN5F9/wAAwSv8ClzQQII/iJSEFkf2RDbCwfqVI3FWzhBfB8P1Dcr5mdXNfWgEu4b9wn8T/J8nuEjUAybrlSw== X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:satlexmb07.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(376014)(36860700016)(1800799024)(23010399003)(82310400026)(18002099003)(11063799006)(56012099006); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hhNbViB5gb+uH/kepCUpj2EsgZJuxhXiYNuHkCB2JY6jpFta32puX9Cws4Vk4SgqY/gD8OKYS0XhbPjqOhAmL254YA3M8OA6XXPncaWMhbzohfdmEmQqTtFqw1D9Q8m8QmNP2BgHWLN2RSmlKfAiAePfmZA17mv4orVP2awZNUuhTYXeokOc+Ti6MEET8ed9wIBvlCHRM3zQVIZmr/y8f3b0PJa2iEENtGUbTe2Qff10oIHPu3xJb/CeDkRjP7ofWpkA6l1oeu0qaIB+1ul6smM0eLgmR22wp3S4YHoQLyn/ZpxXv0UZKJrEXOWIM7FO5Bjx7BLwbdYotzfOpGOsaxO+8+7ECKOyEx4nzUVuJ6Q8IsZRAMqIRqvpv7qlleoWtSzSL/wecqMoewY3canz/+8yHITUnnteag7cLC8sC5aNcTeQdxpGfibzBTdkuF8t X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2026 14:29:04.3746 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2599e32f-a115-4990-4f37-08ded77d1a44 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[satlexmb07.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SJ1PEPF000026C5.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PPF6483BC7EA 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 In amd-dbgapi-target, there are a number of cases where uint64_t and uint32_t types are being printed. The uint64_t cases are in particular about identifier handles obtained from the debug API. For portability, use PRIu64 for uint64_t and PRIu32 for uint32_t values. In one case, `ptid.tid ()` was being printed for the wave id. Change this to use `wave_id.handle` for consistency with the other cases. --- gdb/amd-dbgapi-target.c | 58 ++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/gdb/amd-dbgapi-target.c b/gdb/amd-dbgapi-target.c index d0424044e0c..14523fcefb3 100644 --- a/gdb/amd-dbgapi-target.c +++ b/gdb/amd-dbgapi-target.c @@ -392,26 +392,26 @@ wave_coordinates::to_string () const std::string str = "AMDGPU Wave"; str += (agent_id != AMD_DBGAPI_AGENT_NONE - ? string_printf (" %ld", agent_id.handle) + ? string_printf (" %" PRIu64, agent_id.handle) : " ?"); str += (queue_id != AMD_DBGAPI_QUEUE_NONE - ? string_printf (":%ld", queue_id.handle) + ? string_printf (":%" PRIu64, queue_id.handle) : ":?"); str += (dispatch_id != AMD_DBGAPI_DISPATCH_NONE - ? string_printf (":%ld", dispatch_id.handle) + ? string_printf (":%" PRIu64, dispatch_id.handle) : ":?"); - str += string_printf (":%ld", wave_id.handle); + str += string_printf (":%" PRIu64, wave_id.handle); str += (group_ids[0] != UINT32_MAX - ? string_printf (" (%d,%d,%d)", group_ids[0], group_ids[1], - group_ids[2]) + ? string_printf (" (%" PRIu32 ",%" PRIu32 ",%" PRIu32 ")", + group_ids[0], group_ids[1], group_ids[2]) : " (?,?,?)"); str += (wave_in_group != UINT32_MAX - ? string_printf ("/%d", wave_in_group) + ? string_printf ("/%" PRIu32, wave_in_group) : "/?"); return str; @@ -591,8 +591,8 @@ amd_dbgapi_target_breakpoint::check_status (struct bpstat *bs) &action); if (status != AMD_DBGAPI_STATUS_SUCCESS) - error (_("amd_dbgapi_report_breakpoint_hit failed for breakpoint %ld " - "at %s (%s)"), + error (_("amd_dbgapi_report_breakpoint_hit failed for breakpoint %" PRIu64 + " at %s (%s)"), breakpoint_id.handle, paddress (inf->arch (), bs->bp_location_at->address), get_status_string (status)); @@ -624,7 +624,7 @@ amd_dbgapi_target_breakpoint::check_status (struct bpstat *bs) for our breakpoint_id. */ if (resume_breakpoint_id != breakpoint_id) error (_("breakpoint resume event is not for this breakpoint. " - "Expected breakpoint_%ld, got breakpoint_%ld"), + "Expected breakpoint_%" PRIu64 ", got breakpoint_%" PRIu64), breakpoint_id.handle, resume_breakpoint_id.handle); amd_dbgapi_event_processed (resume_event_id); @@ -1055,8 +1055,8 @@ amd_dbgapi_target::resume (ptid_t scope_ptid, int step, enum gdb_signal signo) indicate that the process has exited. GDB treats resuming a thread that no longer exists as being successful. */ && status != AMD_DBGAPI_STATUS_ERROR_INVALID_WAVE_ID) - error (_("wave_resume for wave_%ld failed (%s)"), wave_id.handle, - get_status_string (status)); + error (_("wave_resume for wave_%" PRIu64 " failed (%s)"), + wave_id.handle, get_status_string (status)); wi.stopping = false; } @@ -1130,12 +1130,12 @@ amd_dbgapi_target::stop (ptid_t ptid) } if (status != AMD_DBGAPI_STATUS_ERROR_INVALID_WAVE_ID) - error (_("wave_stop for wave_%ld failed (%s)"), wave_id.handle, - get_status_string (status)); + error (_("wave_stop for wave_%" PRIu64 " failed (%s)"), + wave_id.handle, get_status_string (status)); } else if (status != AMD_DBGAPI_STATUS_ERROR_INVALID_WAVE_ID) - error (_("wave_get_info for wave_%ld failed (%s)"), wave_id.handle, - get_status_string (status)); + error (_("wave_get_info for wave_%" PRIu64 " failed (%s)"), + wave_id.handle, get_status_string (status)); /* The status is AMD_DBGAPI_STATUS_ERROR_INVALID_WAVE_ID. The wave could have terminated since the last time the wave list was @@ -1145,7 +1145,7 @@ amd_dbgapi_target::stop (ptid_t ptid) wi.stopping = true; amd_dbgapi_debug_printf ("got AMD_DBGAPI_STATUS_ERROR_INVALID_WAVE_ID " - "for wave_%ld, last_resume_mode=%s, " + "for wave_%" PRIu64 ", last_resume_mode=%s, " "report_thread_events=%d", wave_id.handle, resume_mode_to_string (wi.last_resume_mode), @@ -1268,7 +1268,7 @@ dbgapi_notifier_handler (int err, gdb_client_data client_data) sizeof (runtime_state), &runtime_state); if (status != AMD_DBGAPI_STATUS_SUCCESS) - error (_("event_get_info for event_%ld failed (%s)"), + error (_("event_get_info for event_%" PRIu64 " failed (%s)"), event_id.handle, get_status_string (status)); switch (runtime_state) @@ -1404,7 +1404,7 @@ add_gpu_thread (inferior *inf, ptid_t wave_ptid) if (!info.wave_info_map.try_emplace (wave_id.handle, wave_info (wave_id)).second) - internal_error ("wave ID %ld already in map", wave_id.handle); + internal_error ("wave ID %" PRIu64 " already in map", wave_id.handle); /* Create new GPU threads silently to avoid spamming the terminal with thousands of "[New Thread ...]" messages. */ @@ -1436,7 +1436,7 @@ process_one_event (amd_dbgapi_inferior_info &info, = amd_dbgapi_event_get_info (event_id, AMD_DBGAPI_EVENT_INFO_WAVE, sizeof (wave_id), &wave_id); if (status != AMD_DBGAPI_STATUS_SUCCESS) - error (_("event_get_info for event_%ld failed (%s)"), + error (_("event_get_info for event_%" PRIu64 " failed (%s)"), event_id.handle, get_status_string (status)); ptid_t event_ptid = make_gpu_ptid (info.inf->pid, wave_id); @@ -1502,7 +1502,7 @@ process_one_event (amd_dbgapi_inferior_info &info, } } else - error (_("wave_get_info for wave_%ld failed (%s)"), + error (_("wave_get_info for wave_%" PRIu64 " failed (%s)"), wave_id.handle, get_status_string (status)); info.wave_events.emplace_back (event_ptid, ws); @@ -1542,7 +1542,7 @@ process_one_event (amd_dbgapi_inferior_info &info, AMD_DBGAPI_EVENT_INFO_RUNTIME_STATE, sizeof (runtime_state), &runtime_state); if (status != AMD_DBGAPI_STATUS_SUCCESS) - error (_("event_get_info for event_%ld failed (%s)"), + error (_("event_get_info for event_%" PRIu64 " failed (%s)"), event_id.handle, get_status_string (status)); gdb_assert (runtime_state == AMD_DBGAPI_RUNTIME_STATE_UNLOADED); @@ -2069,14 +2069,14 @@ amd_dbgapi_target::thread_architecture (ptid_t ptid) sizeof (architecture_id), &architecture_id); if (status != AMD_DBGAPI_STATUS_SUCCESS) - error (_("Couldn't get architecture for wave_%ld"), ptid.tid ()); + error (_("Couldn't get architecture for wave_%" PRIu64), wave_id.handle); uint32_t elf_amdgpu_machine; status = amd_dbgapi_architecture_get_info (architecture_id, AMD_DBGAPI_ARCHITECTURE_INFO_ELF_AMDGPU_MACHINE, sizeof (elf_amdgpu_machine), &elf_amdgpu_machine); if (status != AMD_DBGAPI_STATUS_SUCCESS) - error (_("Couldn't get elf_amdgpu_machine for architecture_%ld"), + error (_("Couldn't get elf_amdgpu_machine for architecture_%" PRIu64), architecture_id.handle); struct gdbarch_info info; @@ -2154,7 +2154,7 @@ amd_dbgapi_target::update_thread_list () || wi.stopping) { amd_dbgapi_debug_printf - ("wave_%ld disappeared, keeping it" + ("wave_%" PRIu64 " disappeared, keeping it" " (last_resume_mode=%s, stopping=%d)", wave_id.handle, resume_mode_to_string (wi.last_resume_mode), @@ -2162,8 +2162,8 @@ amd_dbgapi_target::update_thread_list () } else { - amd_dbgapi_debug_printf ("wave_%ld disappeared, deleting it", - wave_id.handle); + amd_dbgapi_debug_printf ("wave_%" PRIu64 " disappeared, " + "deleting it", wave_id.handle); delete_thread_silent (&tp); } } @@ -2283,8 +2283,8 @@ amd_dbgapi_target::displaced_step_finish (thread_info *thread, sizeof (stop_reason), &stop_reason); if (status != AMD_DBGAPI_STATUS_SUCCESS) - error (_("wave_get_info for wave_%ld failed (%s)"), wave_id.handle, - get_status_string (status)); + error (_("wave_get_info for wave_%" PRIu64 " failed (%s)"), + wave_id.handle, get_status_string (status)); status = amd_dbgapi_displaced_stepping_complete (wave_id, stepping_id); -- 2.34.1