forked from Imagelibrary/binutils-gdb
Remove regcache_cooked_read
Remove regcache_cooked_read, update callers to use readable_regcache::cooked_read instead. gdb/ChangeLog: * regcache.h (regcache_cooked_read): Remove, update callers to use readable_regcache::cooked_read instead. * regcache.c (regcache_cooked_read): Remove.
This commit is contained in:
@@ -209,7 +209,7 @@ do_cooked_read (void *src, int regnum, gdb_byte *buf)
|
||||
{
|
||||
struct regcache *regcache = (struct regcache *) src;
|
||||
|
||||
return regcache_cooked_read (regcache, regnum, buf);
|
||||
return regcache->cooked_read (regnum, buf);
|
||||
}
|
||||
|
||||
readonly_detached_regcache::readonly_detached_regcache (const regcache &src)
|
||||
@@ -600,12 +600,6 @@ regcache_raw_get_signed (struct regcache *regcache, int regnum)
|
||||
return value;
|
||||
}
|
||||
|
||||
enum register_status
|
||||
regcache_cooked_read (struct regcache *regcache, int regnum, gdb_byte *buf)
|
||||
{
|
||||
return regcache->cooked_read (regnum, buf);
|
||||
}
|
||||
|
||||
enum register_status
|
||||
readable_regcache::cooked_read (int regnum, gdb_byte *buf)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user