From a3adb19a230ae4d8f6bf8be117d0eda8668f26d1 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 8 Sep 2019 00:28:19 +0000 Subject: mgdb: added winnt_thread_alive() as stub. --- overlay/mgdb/gdb/winnt-nat.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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))) -- cgit v1.2.3