summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--overlay/mgdb/gdb/winnt-nat.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/overlay/mgdb/gdb/winnt-nat.c b/overlay/mgdb/gdb/winnt-nat.c
index bd49897..4f8ffa7 100644
--- a/overlay/mgdb/gdb/winnt-nat.c
+++ b/overlay/mgdb/gdb/winnt-nat.c
@@ -145,6 +145,14 @@ static enum target_xfer_status winnt_xfer_partial(
return TARGET_XFER_E_IO;
}
+static int winnt_thread_alive (struct target_ops * t, ptid_t ptid)
+{
+ (void)t;
+ (void)ptid;
+
+ return true;
+}
+
static void winnt_files_info (struct target_ops * t)
{
(void)t;
@@ -509,6 +517,8 @@ static target_ops * winnt_target_alloc (void)
t->to_xfer_partial = winnt_xfer_partial;
t->to_files_info = winnt_files_info;
+ t->to_thread_alive = winnt_thread_alive;
+
x86_use_watchpoints(t);
return ((outbuf = (char *)calloc(1,WINNT_OUTBUF_SIZE)))