diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:41 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:41 -0400 |
commit | 6aa7d72401387cacc5a7699520045ce9083a526a (patch) | |
tree | 66cf8aef286d14ad2ad46500ce081f6c7a227c09 /gdb/sh-tdep.c | |
parent | 4f0420fdabda76f462bd29a02d9be575e0e0cce7 (diff) | |
download | gdb-6aa7d72401387cacc5a7699520045ce9083a526a.zip gdb-6aa7d72401387cacc5a7699520045ce9083a526a.tar.gz gdb-6aa7d72401387cacc5a7699520045ce9083a526a.tar.bz2 |
Remove regcache_invalidate
Remove regcache_invalidate, update callers to use
detached_regcache::invalidate instead.
gdb/ChangeLog:
* regcache.h (regcache_invalidate): Remove, update callers to
use detached_regcache::invalidate instead.
* regcache.c (regcache_invalidate): Remove.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r-- | gdb/sh-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 7946430..97e4a75 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -1703,7 +1703,7 @@ sh_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache, regcache->raw_write (BANK_REGNUM, buffer); for (bregnum = R0_BANK0_REGNUM; bregnum < MACLB_REGNUM; ++bregnum) - regcache_invalidate (regcache, bregnum); + regcache->invalidate (bregnum); } else if (reg_nr >= DR0_REGNUM && reg_nr <= DR_LAST_REGNUM) { |