From: davem Date: Fri, 5 May 2006 22:42:43 +0000 (+0000) Subject: * linux-thread-db.c (thread_db_store_registers): Use X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=63403eb3870ec167fc2a944f8b481f5ce7323978;p=pf3gnuchains%2Fpf3gnuchains3x.git * linux-thread-db.c (thread_db_store_registers): Use regcache_raw_collect. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b5e66679bf..cd8a66b773 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 981bc06680..8c081df268 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); }