aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:46 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:46 -0400
commit34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc (patch)
tree4431b346a1c56a2485a09017620b9163a06529da /gdb/regcache.c
parent73e1c03f93f0294b464dc2b67de1f9aaae84838d (diff)
downloadgdb-34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc.zip
gdb-34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc.tar.gz
gdb-34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc.tar.bz2
Remove regcache_raw_collect
Remove regcache_raw_collect, update callers to use regcache::raw_collect. gdb/ChangeLog: * regcache.h (regcache_raw_collect): Remove, update callers to use regcache::raw_collect. * regcache.c (regcache_raw_collect): Remove.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index 8d47fda..a914b54 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -948,15 +948,6 @@ detached_regcache::raw_supply_zeroed (int regnum)
m_register_status[regnum] = REG_VALID;
}
-/* Collect register REGNUM from REGCACHE and store its contents in BUF. */
-
-void
-regcache_raw_collect (const struct regcache *regcache, int regnum, void *buf)
-{
- gdb_assert (regcache != NULL && buf != NULL);
- regcache->raw_collect (regnum, buf);
-}
-
void
regcache::raw_collect (int regnum, void *buf) const
{