aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/target.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/target.cc')
-rw-r--r--gdbserver/target.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbserver/target.cc b/gdbserver/target.cc
index eca53de..b73c446 100644
--- a/gdbserver/target.cc
+++ b/gdbserver/target.cc
@@ -223,7 +223,7 @@ target_stop_and_wait (ptid_t ptid)
ptid_t
target_wait (ptid_t ptid, struct target_waitstatus *status, int options)
{
- return (*the_target->wait) (ptid, status, options);
+ return the_target->pt->wait (ptid, status, options);
}
/* See target/target.h. */