From: Simon Marchi Date: Mon, 9 Jun 2025 16:08:57 +0000 (-0400) Subject: gdb/amd-dbgapi: remove unnecessary AMD_DBGAPI_EVENT_KIND_NONE argument X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a421b077b2522040aecc65c0b9cb336a63e208d3;p=thirdparty%2Fbinutils-gdb.git gdb/amd-dbgapi: remove unnecessary AMD_DBGAPI_EVENT_KIND_NONE argument Rely on the default value. Change-Id: I08c683de005806c5c5d29ed7f9b0c6de81b49a01 Approved-By: Lancelot Six --- 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)