summaryrefslogtreecommitdiff
path: root/gdb/linux-thread-db.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2006-05-05 22:42:43 +0000
committerDavid S. Miller <davem@redhat.com>2006-05-05 22:42:43 +0000
commit58ef8cae3ef0ca3d2203f334f717c213e0f94f8f (patch)
tree32d8b922ec7acee8d8ebfa48beec48d3a06e8c1a /gdb/linux-thread-db.c
parent6b17e726f109257e00060dd3c0ca0b53b37e6da4 (diff)
downloadgdb-58ef8cae3ef0ca3d2203f334f717c213e0f94f8f.tar.gz
* linux-thread-db.c (thread_db_store_registers): Use
regcache_raw_collect.
Diffstat (limited to 'gdb/linux-thread-db.c')
-rw-r--r--gdb/linux-thread-db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c
index 981bc06680a..8c081df2684 100644
--- a/gdb/linux-thread-db.c
+++ b/gdb/linux-thread-db.c
@@ -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);
}