Remove unused function set_inferior_target_data
The inferior (thread) target data is always set through add_thread. gdb/gdbserver/ChangeLog: * inferiors.c (set_inferior_target_data): Remove. * inferiors.h (set_inferior_target_data): Remove.
This commit is contained in:
parent
074f606684
commit
a160cc4628
3 changed files with 5 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2017-08-24 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
|
* inferiors.c (set_inferior_target_data): Remove.
|
||||||
|
* inferiors.h (set_inferior_target_data): Remove.
|
||||||
|
|
||||||
2017-08-18 Yao Qi <yao.qi@linaro.org>
|
2017-08-18 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
* Makefile.in (OBS): Add selftest.o.
|
* Makefile.in (OBS): Add selftest.o.
|
||||||
|
|
|
@ -314,12 +314,6 @@ inferior_target_data (struct thread_info *inferior)
|
||||||
return inferior->target_data;
|
return inferior->target_data;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
set_inferior_target_data (struct thread_info *inferior, void *data)
|
|
||||||
{
|
|
||||||
inferior->target_data = data;
|
|
||||||
}
|
|
||||||
|
|
||||||
struct regcache *
|
struct regcache *
|
||||||
inferior_regcache_data (struct thread_info *inferior)
|
inferior_regcache_data (struct thread_info *inferior)
|
||||||
{
|
{
|
||||||
|
|
|
@ -161,7 +161,6 @@ struct inferior_list_entry *
|
||||||
void *arg);
|
void *arg);
|
||||||
|
|
||||||
void *inferior_target_data (struct thread_info *);
|
void *inferior_target_data (struct thread_info *);
|
||||||
void set_inferior_target_data (struct thread_info *, void *);
|
|
||||||
struct regcache *inferior_regcache_data (struct thread_info *);
|
struct regcache *inferior_regcache_data (struct thread_info *);
|
||||||
void set_inferior_regcache_data (struct thread_info *, struct regcache *);
|
void set_inferior_regcache_data (struct thread_info *, struct regcache *);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue