summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-09-07 23:24:10 +0000
committermidipix <writeonce@midipix.org>2019-09-08 01:49:33 +0000
commit6f1e698050938161b3e69504fa38e398afa26584 (patch)
treee0d4d6fea01097224527d5ecf916fce521ba58c4
parent6f808fa5236f899062214ee93b6565e81a66921e (diff)
downloadchainport-6f1e698050938161b3e69504fa38e398afa26584.tar.bz2
chainport-6f1e698050938161b3e69504fa38e398afa26584.tar.xz
mgdb: added winnt_pid_to_exec_file() as stub.
-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);