summaryrefslogtreecommitdiff
path: root/gdb/regcache.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:40 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:40 -0400
commit4f0420fdabda76f462bd29a02d9be575e0e0cce7 (patch)
tree8b216760750e3e77021ea6f6567d7a9c5f90f9ca /gdb/regcache.h
parent502fe83eb549476fac09ec62c7fd66447791ba2a (diff)
downloadbinutils-gdb-4f0420fdabda76f462bd29a02d9be575e0e0cce7.tar.gz
Remove regcache_raw_write_part
Remove regcache_raw_write_part, update callers to use regcache::raw_write_part instead. gdb/ChangeLog: * regcache.h (regcache_raw_write_part): Remove, update callers to use regcache::raw_write_part instead. * regcache.c (regcache_raw_write_part): Remove.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r--gdb/regcache.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h
index 4865d89cf2e..af3adf8d212 100644
--- a/gdb/regcache.h
+++ b/gdb/regcache.h
@@ -50,13 +50,6 @@ extern void regcache_raw_write_unsigned (struct regcache *regcache,
extern LONGEST regcache_raw_get_signed (struct regcache *regcache,
int regnum);
-/* Partial transfer of raw registers. These perform read, modify,
- write style operations. The read variant returns the status of the
- register. */
-
-void regcache_raw_write_part (struct regcache *regcache, int regnum,
- int offset, int len, const gdb_byte *buf);
-
void regcache_invalidate (struct regcache *regcache, int regnum);
/* Transfer of pseudo-registers. The read variants return a register
@@ -333,6 +326,8 @@ public:
void raw_collect_integer (int regnum, gdb_byte *addr, int addr_len,
bool is_signed) const;
+ /* Partial transfer of raw registers. Perform read, modify, write style
+ operations. */
void raw_write_part (int regnum, int offset, int len, const gdb_byte *buf);
void cooked_write_part (int regnum, int offset, int len,