]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/amd-dbgapi: remove unnecessary AMD_DBGAPI_EVENT_KIND_NONE argument
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 9 Jun 2025 16:08:57 +0000 (12:08 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 16 Jun 2025 14:13:51 +0000 (10:13 -0400)
Rely on the default value.

Change-Id: I08c683de005806c5c5d29ed7f9b0c6de81b49a01
Approved-By: Lancelot Six <lancelot.six@amd.com>
gdb/amd-dbgapi-target.c

index 819b373da3210de656bf82dc20d0fd3b5e5738df..2aa9d2a03a4b31555dcb0e6b537382e77a9dda7b 100644 (file)
@@ -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)