aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:40 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:40 -0400
commit4f0420fdabda76f462bd29a02d9be575e0e0cce7 (patch)
tree8b216760750e3e77021ea6f6567d7a9c5f90f9ca /gdb/regcache.c
parent502fe83eb549476fac09ec62c7fd66447791ba2a (diff)
downloadgdb-4f0420fdabda76f462bd29a02d9be575e0e0cce7.zip
gdb-4f0420fdabda76f462bd29a02d9be575e0e0cce7.tar.gz
gdb-4f0420fdabda76f462bd29a02d9be575e0e0cce7.tar.bz2
Remove regcache_raw_write_part
Remove regcache_raw_write_part, update callers to use regcache::raw_write_part instead. gdb/ChangeLog: * regcache.h (regcache_raw_write_part): Remove, update callers to use regcache::raw_write_part instead. * regcache.c (regcache_raw_write_part): Remove.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index 051bd48..371322d 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -873,12 +873,7 @@ readable_regcache::raw_read_part (int regnum, int offset, int len, gdb_byte *buf
return read_part (regnum, offset, len, buf, true);
}
-void
-regcache_raw_write_part (struct regcache *regcache, int regnum,
- int offset, int len, const gdb_byte *buf)
-{
- regcache->raw_write_part (regnum, offset, len, buf);
-}
+/* See regcache.h. */
void
regcache::raw_write_part (int regnum, int offset, int len,