From c0e15c9bfd6fb4bf36e5240838f6ebed1e1f4a7e Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Sat, 2 Dec 2017 20:36:46 -0500 Subject: Remove for_each_inferior_with_data Remove for_each_inferior_with_data, replacing its sole usage with for_each_thread. gdb/gdbserver/ChangeLog: * inferiors.c (for_each_inferior_with_data): Remove. * inferiors.h (for_each_inferior_with_data): Remove. * server.c (handle_qxfer_threads_worker): Change parameter type. (handle_qxfer_threads_proper): Use for_each_thread. --- gdb/gdbserver/inferiors.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gdb/gdbserver/inferiors.h') diff --git a/gdb/gdbserver/inferiors.h b/gdb/gdbserver/inferiors.h index 030d9c3..947b56e 100644 --- a/gdb/gdbserver/inferiors.h +++ b/gdb/gdbserver/inferiors.h @@ -140,10 +140,6 @@ int have_attached_inferiors_p (void); void clear_inferiors (void); -void for_each_inferior_with_data (std::list *thread_list, - void (*action) (thread_info *, void *), - void *data); - void *thread_target_data (struct thread_info *); struct regcache *thread_regcache_data (struct thread_info *); void set_thread_regcache_data (struct thread_info *, struct regcache *); -- cgit v1.1