From 6f1e698050938161b3e69504fa38e398afa26584 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 7 Sep 2019 23:24:10 +0000 Subject: mgdb: added winnt_pid_to_exec_file() as stub. --- overlay/mgdb/gdb/winnt-nat.c | 11 +++++++++++ 1 file changed, 11 insertions(+) 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); -- cgit v1.2.3