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.
This commit is contained in:
Simon Marchi
2018-05-30 14:54:40 -04:00
parent 502fe83eb5
commit 4f0420fdab
12 changed files with 26 additions and 34 deletions

View File

@@ -873,12 +873,7 @@ readable_regcache::raw_read_part (int regnum, int offset, int len, gdb_byte *buf
return read_part (regnum, offset, len, buf, true);
}
void
regcache_raw_write_part (struct regcache *regcache, int regnum,
int offset, int len, const gdb_byte *buf)
{
regcache->raw_write_part (regnum, offset, len, buf);
}
/* See regcache.h. */
void
regcache::raw_write_part (int regnum, int offset, int len,