* linux-thread-db.c (thread_db_store_registers): Use
regcache_raw_collect.
This commit is contained in:
parent
4f844a660e
commit
bcc98f888e
2 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue