+2010-03-07 Joel Brobecker <brobecker@adacore.com>
+
+ * remote.c (remote_get_ada_task_ptid): New function.
+ (init_remote_ops): Set remote_ops.to_get_ada_task_ptid.
+
2010-03-06 Christopher Faylor <me+cygwin@cgf.cx>
* windows-nat.c: Reorganize #ifdef __CYGWIN__ considerations into one
}
\f
+/* Implement the to_get_ada_task_ptid function for the remote targets. */
+
+static ptid_t
+remote_get_ada_task_ptid (long lwp, long thread)
+{
+ return ptid_build (ptid_get_pid (inferior_ptid), 0, lwp);
+}
+\f
+
/* Restart the remote side; this is an extended protocol operation. */
static void
remote_ops.to_find_new_threads = remote_threads_info;
remote_ops.to_pid_to_str = remote_pid_to_str;
remote_ops.to_extra_thread_info = remote_threads_extra_info;
+ remote_ops.to_get_ada_task_ptid = remote_get_ada_task_ptid;
remote_ops.to_stop = remote_stop;
remote_ops.to_xfer_partial = remote_xfer_partial;
remote_ops.to_rcmd = remote_rcmd;
target_buf_size = 2048;
target_buf = xmalloc (target_buf_size);
}
+