From: Pedro Alves Date: Thu, 21 Jan 2010 15:33:19 +0000 (+0000) Subject: * proc-service.c (ps_lgetregs): Don't refetch registers from the X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=8b315be588fdf31c348a0f62c4314745ad10b79f;p=deliverable%2Fbinutils-gdb.git * proc-service.c (ps_lgetregs): Don't refetch registers from the target. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 35ce8fe654..0d2b3786c3 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2010-01-21 Pedro Alves + + * proc-service.c (ps_lgetregs): Don't refetch registers from the + target. + 2010-01-21 Pedro Alves * spu-low.c (spu_fetch_registers, spu_store_registers): Change diff --git a/gdb/gdbserver/proc-service.c b/gdb/gdbserver/proc-service.c index 3bb9194f1c..882717436f 100644 --- a/gdb/gdbserver/proc-service.c +++ b/gdb/gdbserver/proc-service.c @@ -111,7 +111,6 @@ ps_lgetregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, prgregset_t gregset) save_inferior = current_inferior; current_inferior = reg_inferior; regcache = get_thread_regcache (current_inferior, 1); - the_target->fetch_registers (regcache, -1); gregset_info ()->fill_function (regcache, gregset); current_inferior = save_inferior;