[binutils-gdb] gdb/amd-dbgapi: remove unnecessary AMD_DBGAPI_EVENT_KIND_NONE argument
Simon Marchi
simark@sourceware.org
Mon Jun 16 14:24:06 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a421b077b2522040aecc65c0b9cb336a63e208d3
commit a421b077b2522040aecc65c0b9cb336a63e208d3
Author: Simon Marchi <simon.marchi@efficios.com>
Date: Mon Jun 9 12:08:57 2025 -0400
gdb/amd-dbgapi: remove unnecessary AMD_DBGAPI_EVENT_KIND_NONE argument
Rely on the default value.
Change-Id: I08c683de005806c5c5d29ed7f9b0c6de81b49a01
Approved-By: Lancelot Six <lancelot.six@amd.com>
Diff:
---
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 819b373da32..2aa9d2a03a4 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)
More information about the Gdb-cvs
mailing list