aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:39 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:39 -0400
commit502fe83eb549476fac09ec62c7fd66447791ba2a (patch)
tree2508884cce2fea0d95e5f68b0c6af0814e40597f /gdb/regcache.h
parentdca08e1fe158d04517ba3ddd7ece9dd1596c8e8c (diff)
downloadbinutils-502fe83eb549476fac09ec62c7fd66447791ba2a.zip
binutils-502fe83eb549476fac09ec62c7fd66447791ba2a.tar.gz
binutils-502fe83eb549476fac09ec62c7fd66447791ba2a.tar.bz2
Remove regcache_raw_read_part
Remove regcache_raw_read_part, update callers to use readable_regcache::raw_read_part instead. gdb/ChangeLog: * regcache.h (regcache_raw_read_part): Remove, update callers to use readable_regcache::raw_read_part instead. * regcache.c (regcache_raw_read_part): Remove.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r--gdb/regcache.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h
index f7228e4..4865d89 100644
--- a/gdb/regcache.h
+++ b/gdb/regcache.h
@@ -54,9 +54,6 @@ extern LONGEST regcache_raw_get_signed (struct regcache *regcache,
write style operations. The read variant returns the status of the
register. */
-extern enum register_status
- regcache_raw_read_part (struct regcache *regcache, int regnum,
- int offset, int len, gdb_byte *buf);
void regcache_raw_write_part (struct regcache *regcache, int regnum,
int offset, int len, const gdb_byte *buf);
@@ -243,6 +240,7 @@ public:
template<typename T, typename = RequireLongest<T>>
enum register_status raw_read (int regnum, T *val);
+ /* Partial transfer of raw registers. Return the status of the register. */
enum register_status raw_read_part (int regnum, int offset, int len,
gdb_byte *buf);