]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/gdbserver/linux-mips-low.c
gdbserver: use std::list for all_threads
[thirdparty/binutils-gdb.git] / gdb / gdbserver / linux-mips-low.c
index b30fbba3d798d637798b50121ef7e031140eb1ec..07becd6d842947606c9eb63f632e7f6a42eaa3bd 100644 (file)
@@ -293,10 +293,8 @@ mips_breakpoint_at (CORE_ADDR where)
    if the lwp's process id is *PID_P.  */
 
 static int
-update_watch_registers_callback (struct inferior_list_entry *entry,
-                                void *pid_p)
+update_watch_registers_callback (thread_info *thread, void *pid_p)
 {
-  struct thread_info *thread = (struct thread_info *) entry;
   struct lwp_info *lwp = get_thread_lwp (thread);
   int pid = *(int *) pid_p;