X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fregcache.c;h=a914b548cadce1d375f5d72b0936b2258b90e08f;hb=34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc;hp=8d47fdac532b2f6e055115d4030b76cdf8876a14;hpb=73e1c03f93f0294b464dc2b67de1f9aaae84838d;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/regcache.c b/gdb/regcache.c index 8d47fdac53..a914b548ca 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 {