aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/target.c')
-rw-r--r--gdb/gdbserver/target.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/gdbserver/target.c b/gdb/gdbserver/target.c
index e51b7db..c95b2f0 100644
--- a/gdb/gdbserver/target.c
+++ b/gdb/gdbserver/target.c
@@ -24,7 +24,7 @@
struct target_ops *the_target;
void
-set_desired_inferior (int use_general)
+set_desired_thread (int use_general)
{
struct thread_info *found;
@@ -34,9 +34,9 @@ set_desired_inferior (int use_general)
found = find_thread_ptid (cont_thread);
if (found == NULL)
- current_inferior = get_first_thread ();
+ current_thread = get_first_thread ();
else
- current_inferior = found;
+ current_thread = found;
}
int