diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-08-25 10:45:33 +0200 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-08-25 10:45:33 +0200 |
commit | 6afd337d1a1a789b71d77b157529c08250eb9093 (patch) | |
tree | 37b1715c722d88904a70ac1260fd288a3e372737 /gdb/gdbserver/inferiors.h | |
parent | 1445030f313d9b251a6a27c8bdf52197520396e2 (diff) | |
download | binutils-6afd337d1a1a789b71d77b157529c08250eb9093.zip binutils-6afd337d1a1a789b71d77b157529c08250eb9093.tar.gz binutils-6afd337d1a1a789b71d77b157529c08250eb9093.tar.bz2 |
gdbserver: Rename some functions, thread -> inferior
These functions apply to thread, and not inferiors (in the gdbserver
sense, the abstraction for threads and processes, as in
inferior_list). Therefore, it would make more sense if these functions
were named with "thread" rather than "inferior".
gdb/gdbserver/ChangeLog:
* inferiors.h (inferior_target_data): Rename to ...
(thread_target_data): ... this.
(inferior_regcache_data): Rename to ...
(thread_regcache_data): ... this.
(set_inferior_regcache_data): Rename to ...
(set_thread_regcache_data): ... this.
* inferiors.c (inferior_target_data): Rename to ...
(thread_target_data): ... this.
(inferior_regcache_data): Rename to ...
(thread_regcache_data): ... this.
(set_inferior_regcache_data): Rename to ...
(set_thread_regcache_data): ... this.
(free_one_thread): Update.
* linux-low.h (get_thread_lwp): Update.
* regcache.c (get_thread_regcache): Update.
(regcache_invalidate_thread): Update.
(free_register_cache_thread): Update.
* win32-i386-low.c (update_debug_registers_callback): Update.
(win32_get_current_dr): Update.
* win32-low.c (thread_rec): Update.
(delete_thread_info): Update.
(continue_one_thread): Update.
(suspend_one_thread): Update.
Diffstat (limited to 'gdb/gdbserver/inferiors.h')
-rw-r--r-- | gdb/gdbserver/inferiors.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/gdbserver/inferiors.h b/gdb/gdbserver/inferiors.h index be248b0..f229e67 100644 --- a/gdb/gdbserver/inferiors.h +++ b/gdb/gdbserver/inferiors.h @@ -160,8 +160,8 @@ struct inferior_list_entry * void *), void *arg); -void *inferior_target_data (struct thread_info *); -struct regcache *inferior_regcache_data (struct thread_info *); -void set_inferior_regcache_data (struct thread_info *, struct regcache *); +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 *); #endif /* INFERIORS_H */ |