summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-09-08 00:28:19 +0000
committermidipix <writeonce@midipix.org>2019-09-08 01:49:33 +0000
commita3adb19a230ae4d8f6bf8be117d0eda8668f26d1 (patch)
treee72c271aebb626064593d9080d6b78b0ce99c93b
parent2f659535667d88cac04fe8366bf2561508f61351 (diff)
downloadchainport-a3adb19a230ae4d8f6bf8be117d0eda8668f26d1.tar.bz2
chainport-a3adb19a230ae4d8f6bf8be117d0eda8668f26d1.tar.xz
mgdb: added winnt_thread_alive() as stub.
-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)))