diff options
author | midipix <writeonce@midipix.org> | 2019-09-08 00:46:19 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-09-08 01:49:33 +0000 |
commit | 9cec53215400edf7c9131d4607b73f828fcb79df (patch) | |
tree | 4cf880f262f859b438bf8f53b3bccdd5318cc73c /overlay/mgdb/gdb | |
parent | 849b7ceb160a1b302be37dbb3e646a9de0075e2a (diff) | |
download | chainport-9cec53215400edf7c9131d4607b73f828fcb79df.tar.bz2 chainport-9cec53215400edf7c9131d4607b73f828fcb79df.tar.xz |
mgdb: added winnt_fetch_registers(), winnt_store_registers() as stubs.
Diffstat (limited to 'overlay/mgdb/gdb')
-rw-r--r-- | overlay/mgdb/gdb/winnt-nat.c | 23 |
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; |