aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/inferiors.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2017-12-02 20:36:46 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2017-12-02 20:38:37 -0500
commitc0e15c9bfd6fb4bf36e5240838f6ebed1e1f4a7e (patch)
tree9d3d0006c4f71d5c7664e8c1be8b0cff5bc353fd /gdb/gdbserver/inferiors.h
parentf004534791145669d7765f8122e48f21e1deeb94 (diff)
downloadbinutils-c0e15c9bfd6fb4bf36e5240838f6ebed1e1f4a7e.zip
binutils-c0e15c9bfd6fb4bf36e5240838f6ebed1e1f4a7e.tar.gz
binutils-c0e15c9bfd6fb4bf36e5240838f6ebed1e1f4a7e.tar.bz2
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.
Diffstat (limited to 'gdb/gdbserver/inferiors.h')
-rw-r--r--gdb/gdbserver/inferiors.h4
1 files changed, 0 insertions, 4 deletions
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_info *> *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 *);