From bcc98f888e27c05defb6add71ba74d6d87d7b525 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Fri, 5 May 2006 22:42:43 +0000 Subject: [PATCH] * linux-thread-db.c (thread_db_store_registers): Use regcache_raw_collect. --- gdb/ChangeLog | 2 ++ gdb/linux-thread-db.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b5e66679bfe..cd8a66b7735 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 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); } -- 2.30.2