* linux-thread-db.c (thread_db_store_registers): Use

regcache_raw_collect.
This commit is contained in:
David S. Miller 2006-05-05 22:42:43 +00:00
parent 4f844a660e
commit bcc98f888e
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@
regset_from_core_section infrastructure if the target
supports it.
* Makefile.in: Update dependencies.
* linux-thread-db.c (thread_db_store_registers): Use
regcache_raw_collect.
2006-05-05: Paul Gilliam <pgilliam@us.ibm.com>

View File

@ -1047,7 +1047,7 @@ thread_db_store_registers (int regno)
{
gdb_byte raw[MAX_REGISTER_SIZE];
deprecated_read_register_gen (regno, raw);
regcache_raw_collect (current_regcache, regno, raw);
thread_db_fetch_registers (-1);
regcache_raw_supply (current_regcache, regno, raw);
}