summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-09-08 00:46:19 +0000
committermidipix <writeonce@midipix.org>2019-09-08 01:49:33 +0000
commit9cec53215400edf7c9131d4607b73f828fcb79df (patch)
tree4cf880f262f859b438bf8f53b3bccdd5318cc73c
parent849b7ceb160a1b302be37dbb3e646a9de0075e2a (diff)
downloadchainport-9cec53215400edf7c9131d4607b73f828fcb79df.tar.bz2
chainport-9cec53215400edf7c9131d4607b73f828fcb79df.tar.xz
mgdb: added winnt_fetch_registers(), winnt_store_registers() as stubs.
-rw-r--r--overlay/mgdb/gdb/winnt-nat.c23
1 files changed, 23 insertions, 0 deletions
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;