aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:42 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:42 -0400
commitb66f5587de2a096f357124b20376b2bab980238b (patch)
tree54bff71969b64a818820a645ce4ee8046401cbb8 /gdb/regcache.c
parent6aa7d72401387cacc5a7699520045ce9083a526a (diff)
downloadgdb-b66f5587de2a096f357124b20376b2bab980238b.zip
gdb-b66f5587de2a096f357124b20376b2bab980238b.tar.gz
gdb-b66f5587de2a096f357124b20376b2bab980238b.tar.bz2
Remove regcache_cooked_write
Remove regcache_cooked_write, update callers to use regcache::cooked_write. gdb/ChangeLog: * regcache.h (regcache_cooked_write): Remove, update callers to use regcache::cooked_write. * regcache.c (regcache_cooked_write): Remove.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index 4dce978..0e2d040 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -772,13 +772,6 @@ regcache::raw_write (int regnum, const gdb_byte *buf)
}
void
-regcache_cooked_write (struct regcache *regcache, int regnum,
- const gdb_byte *buf)
-{
- regcache->cooked_write (regnum, buf);
-}
-
-void
regcache::cooked_write (int regnum, const gdb_byte *buf)
{
gdb_assert (regnum >= 0);