* hpux-thread.c (hpux_thread_store_registers): Use

regcache_raw_collect, not regcache_raw_read.
	* irix5-nat.c (fetch_core_registers): Use regcache_raw_supply,
	not regcache_raw_write.
This commit is contained in:
Ulrich Weigand
2007-04-28 22:51:34 +00:00
parent 9ddf830930
commit 8bb42077f2
3 changed files with 11 additions and 4 deletions

View File

@ -255,7 +255,7 @@ fetch_core_registers (char *core_reg_sect, unsigned core_reg_size,
for (regno = 0; regno < NUM_REGS; regno++)
{
regcache_raw_write (current_regcache, regno, srcp);
regcache_raw_supply (current_regcache, regno, srcp);
srcp += regsize;
}
}