aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/thread-db.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/thread-db.cc')
-rw-r--r--gdbserver/thread-db.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbserver/thread-db.cc b/gdbserver/thread-db.cc
index 2bb6d28..89c45cd 100644
--- a/gdbserver/thread-db.cc
+++ b/gdbserver/thread-db.cc
@@ -221,7 +221,7 @@ attach_thread (const td_thrhandle_t *th_p, td_thrinfo_t *ti_p)
if (debug_threads)
debug_printf ("Attaching to thread %ld (LWP %d)\n",
(unsigned long) ti_p->ti_tid, ti_p->ti_lid);
- err = linux_attach_lwp (ptid);
+ err = the_linux_target->attach_lwp (ptid);
if (err != 0)
{
std::string reason = linux_ptrace_attach_fail_reason_string (ptid, err);