projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdbserver: Rename some functions, thread -> inferior
[deliverable/binutils-gdb.git]
/
gdb
/
gdbserver
/
inferiors.c
diff --git
a/gdb/gdbserver/inferiors.c
b/gdb/gdbserver/inferiors.c
index 5a4a0d1c23bc95b4ba46e0df6b143ef988727ccf..3c171a179ec66a1eb0003aafefc8a3e454410a66 100644
(file)
--- a/
gdb/gdbserver/inferiors.c
+++ b/
gdb/gdbserver/inferiors.c
@@
-197,7
+197,7
@@
static void
free_one_thread (struct inferior_list_entry *inf)
{
struct thread_info *thread = get_thread (inf);
free_one_thread (struct inferior_list_entry *inf)
{
struct thread_info *thread = get_thread (inf);
- free_register_cache (
inferior
_regcache_data (thread));
+ free_register_cache (
thread
_regcache_data (thread));
free (thread);
}
free (thread);
}
@@
-309,27
+309,21
@@
find_inferior_id (struct inferior_list *list, ptid_t id)
}
void *
}
void *
-
inferior_target_data (struct thread_info *inferior
)
+
thread_target_data (struct thread_info *thread
)
{
{
- return inferior->target_data;
-}
-
-void
-set_inferior_target_data (struct thread_info *inferior, void *data)
-{
- inferior->target_data = data;
+ return thread->target_data;
}
struct regcache *
}
struct regcache *
-
inferior_regcache_data (struct thread_info *inferior
)
+
thread_regcache_data (struct thread_info *thread
)
{
{
- return
inferior
->regcache_data;
+ return
thread
->regcache_data;
}
void
}
void
-set_
inferior_regcache_data (struct thread_info *inferior
, struct regcache *data)
+set_
thread_regcache_data (struct thread_info *thread
, struct regcache *data)
{
{
-
inferior
->regcache_data = data;
+
thread
->regcache_data = data;
}
/* Return true if LIST has exactly one entry. */
}
/* Return true if LIST has exactly one entry. */
This page took
0.070127 seconds
and
4
git commands to generate.