gdbserver: Fix build on MIPS

Commit 3470a0e144 inadvertently broke
the build on MIPS because it's passing a non-existent "pid" argument
to "proc->for_each_thread".  This commit fixes the problem by removing
the argument from the call.

Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
This commit is contained in:
Sergio Durigan Junior 2025-01-15 20:08:48 -05:00
parent e97e73f4d8
commit 823b5bbe05
No known key found for this signature in database
GPG Key ID: D0EB762865FC5E36

View File

@ -623,7 +623,7 @@ mips_target::low_remove_point (raw_bkpt_type type, CORE_ADDR addr,
&priv->watch_mirror);
/* Only update the threads of this process. */
proc->for_each_thread (pid, update_watch_registers_callback);
proc->for_each_thread (update_watch_registers_callback);
return 0;
}