summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--overlay/mgdb/gdb/winnt-nat.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/overlay/mgdb/gdb/winnt-nat.c b/overlay/mgdb/gdb/winnt-nat.c
index afe5289..b6c45bf 100644
--- a/overlay/mgdb/gdb/winnt-nat.c
+++ b/overlay/mgdb/gdb/winnt-nat.c
@@ -107,6 +107,16 @@ static struct winnt_process * winnt_process_record(pid_t pid)
return 0;
}
+static char * winnt_pid_to_exec_file (struct target_ops * t, int pid)
+{
+ (void)t;
+ (void)pid;
+
+ outbuf[0] = 0;
+
+ return outbuf;
+}
+
static nfds_t winnt_poll_one_init (struct pollfd * pfds, pid_t pid)
{
winnt_process * pdbg;
@@ -461,6 +471,7 @@ static target_ops * winnt_target_alloc (void)
t->to_create_inferior = winnt_create_inferior;
t->to_pid_to_str = winnt_pid_to_str;
+ t->to_pid_to_exec_file = winnt_pid_to_exec_file;
x86_use_watchpoints(t);