Remove usages of find_inferior in linux-mips-low.c
authorSimon Marchi <simon.marchi@polymtl.ca>
Sun, 3 Dec 2017 01:36:33 +0000 (20:36 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 3 Dec 2017 01:36:33 +0000 (20:36 -0500)
commitda25033cd92a60f4462e1468abfabfee02d0b8d9
tree8d5d7775b5fc23dfae4db5830bb47d7626236dd5
parentc91bb56b06b52d45de7c8871a6d44ddae61ae977
Remove usages of find_inferior in linux-mips-low.c

Replace with for_each_thread with pid filtering.  This allows
simplifying the callback a little bit.

gdb/gdbserver/ChangeLog:

* linux-mips-low.c (update_watch_registers_callback): Return
void, remove pid_p parameter, don't check for pid.
(mips_insert_point, mips_remove_point): Use for_each_thread.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-mips-low.c