Remove regcache_raw_collect

Remove regcache_raw_collect, update callers to use
regcache::raw_collect.

gdb/ChangeLog:

	* regcache.h (regcache_raw_collect): Remove, update callers to
	use regcache::raw_collect.
	* regcache.c (regcache_raw_collect): Remove.
This commit is contained in:
Simon Marchi 2018-05-30 14:54:46 -04:00
parent 73e1c03f93
commit 34a79281e4
58 changed files with 354 additions and 417 deletions

View file

@ -265,7 +265,7 @@ gnu_store_registers (struct target_ops *ops,
for (i = 0; i < I386_NUM_GREGS; i++)
if (REG_VALID == regcache->get_register_status (i))
regcache_raw_collect (regcache, i, REG_ADDR (state, i));
regcache->raw_collect (i, REG_ADDR (state, i));
}
else
{
@ -273,7 +273,7 @@ gnu_store_registers (struct target_ops *ops,
gdbarch_register_name (gdbarch, regno));
gdb_assert (REG_VALID == regcache->get_register_status (regno));
regcache_raw_collect (regcache, regno, REG_ADDR (state, regno));
regcache->raw_collect (regno, REG_ADDR (state, regno));
}
/* Restore the T bit. */