* 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
|
@ -4,6 +4,8 @@
|
||||||
regset_from_core_section infrastructure if the target
|
regset_from_core_section infrastructure if the target
|
||||||
supports it.
|
supports it.
|
||||||
* Makefile.in: Update dependencies.
|
* 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>
|
2006-05-05: Paul Gilliam <pgilliam@us.ibm.com>
|
||||||
|
|
||||||
|
|
|
@ -1047,7 +1047,7 @@ thread_db_store_registers (int regno)
|
||||||
{
|
{
|
||||||
gdb_byte raw[MAX_REGISTER_SIZE];
|
gdb_byte raw[MAX_REGISTER_SIZE];
|
||||||
|
|
||||||
deprecated_read_register_gen (regno, raw);
|
regcache_raw_collect (current_regcache, regno, raw);
|
||||||
thread_db_fetch_registers (-1);
|
thread_db_fetch_registers (-1);
|
||||||
regcache_raw_supply (current_regcache, regno, raw);
|
regcache_raw_supply (current_regcache, regno, raw);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue