]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdbserver: Fix build on MIPS
authorSergio Durigan Junior <sergiodj@sergiodj.net>
Thu, 16 Jan 2025 01:08:48 +0000 (20:08 -0500)
committerSergio Durigan Junior <sergiodj@sergiodj.net>
Thu, 16 Jan 2025 01:10:26 +0000 (20:10 -0500)
Commit 3470a0e144df6c01f8479fa649f43aa907936e7e 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>
gdbserver/linux-mips-low.cc

index 98733709fa3113f87c557b99f12b391e52f838aa..fafcdefbb06dca64ce2e3c37df1d6fcfde9f1b57 100644 (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;
 }