From: David S. Miller Date: Fri, 5 May 2006 22:42:43 +0000 (+0000) Subject: * linux-thread-db.c (thread_db_store_registers): Use X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bcc98f888e27c05defb6add71ba74d6d87d7b525;p=binutils-gdb.git * linux-thread-db.c (thread_db_store_registers): Use regcache_raw_collect. --- 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); }