diff options
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r-- | gdb/regcache.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c index 1bad089..d413fe8 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -706,8 +706,6 @@ regcache_cooked_read (struct regcache *regcache, int regnum, gdb_byte *buf) { /* Read-only register cache, perhaps the cooked value was cached? */ - struct gdbarch *gdbarch = regcache->descr->gdbarch; - if (regcache->register_status[regnum] == REG_VALID) memcpy (buf, register_buffer (regcache, regnum), regcache->descr->sizeof_register[regnum]); |