* proc-service.c (ps_lgetregs): Don't refetch registers from the
authorPedro Alves <palves@redhat.com>
Thu, 21 Jan 2010 15:33:19 +0000 (15:33 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 21 Jan 2010 15:33:19 +0000 (15:33 +0000)
target.

gdb/gdbserver/ChangeLog
gdb/gdbserver/proc-service.c

index 35ce8fe654b0d485bdb566d084147210bd0645b3..0d2b3786c31c2323914528ce67dd5b31e35bb6aa 100644 (file)
@@ -1,3 +1,8 @@
+2010-01-21  Pedro Alves  <pedro@codesourcery.com>
+
+       * proc-service.c (ps_lgetregs): Don't refetch registers from the
+       target.
+
 2010-01-21  Pedro Alves  <pedro@codesourcery.com>
 
        * spu-low.c (spu_fetch_registers, spu_store_registers): Change
index 3bb9194f1ccc8defed5c170953ca2c5ded933512..882717436f53cfbb10b1be8be50dcddb9b7a7519 100644 (file)
@@ -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;