From 10eaee5f56611ce5f92ccd305849c0cc6addd130 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 30 May 2018 14:54:37 -0400 Subject: Remove regcache_raw_write Remove regcache_raw_write, update all callers to use regcache::raw_write instead. gdb/ChangeLog: * regcache.h (regcache_raw_write): Remove, update callers to use regcache::raw_write instead. * regcache.c (regcache_raw_write): Remove. --- gdb/bfin-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/bfin-tdep.c') diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c index 66a9465..a2b3464 100644 --- a/gdb/bfin-tdep.c +++ b/gdb/bfin-tdep.c @@ -721,7 +721,7 @@ bfin_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache, /* Overlay the CC bit in the ASTAT register. */ regcache->raw_read (BFIN_ASTAT_REGNUM, buf); buf[0] = (buf[0] & ~ASTAT_CC) | ((buffer[0] & 1) << ASTAT_CC_POS); - regcache_raw_write (regcache, BFIN_ASTAT_REGNUM, buf); + regcache->raw_write (BFIN_ASTAT_REGNUM, buf); } static CORE_ADDR -- cgit v1.1