aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index 0a13713..af2238f 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -300,7 +300,6 @@ gdbsim_fetch_register (struct regcache *regcache, int regno)
int nr_bytes;
memset (buf, 0, MAX_REGISTER_SIZE);
regcache_raw_supply (regcache, regno, buf);
- set_register_cached (regno, -1);
break;
}