From 9cec53215400edf7c9131d4607b73f828fcb79df Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 8 Sep 2019 00:46:19 +0000 Subject: mgdb: added winnt_fetch_registers(), winnt_store_registers() as stubs. --- overlay/mgdb/gdb/winnt-nat.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/overlay/mgdb/gdb/winnt-nat.c b/overlay/mgdb/gdb/winnt-nat.c index 30f04f9..4786f31 100644 --- a/overlay/mgdb/gdb/winnt-nat.c +++ b/overlay/mgdb/gdb/winnt-nat.c @@ -117,6 +117,26 @@ static char * winnt_pid_to_exec_file (struct target_ops * t, int pid) return outbuf; } +static void winnt_fetch_registers ( + struct target_ops * t, + struct regcache * rcache, + int regnum) +{ + (void)t; + (void)rcache; + (void)regnum; +} + +static void winnt_store_registers ( + struct target_ops * t, + struct regcache * rcache, + int regnum) +{ + (void)t; + (void)rcache; + (void)regnum; +} + static enum target_xfer_status winnt_xfer_partial( struct target_ops * t, enum target_object object, @@ -520,6 +540,9 @@ static target_ops * winnt_target_alloc (void) t->to_pid_to_str = winnt_pid_to_str; t->to_pid_to_exec_file = winnt_pid_to_exec_file; + t->to_fetch_registers = winnt_fetch_registers; + t->to_store_registers = winnt_store_registers; + t->to_xfer_partial = winnt_xfer_partial; t->to_files_info = winnt_files_info; -- cgit v1.2.3