diff options
author | Pedro Alves <palves@redhat.com> | 2010-01-21 15:33:19 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-01-21 15:33:19 +0000 |
commit | 8b315be588fdf31c348a0f62c4314745ad10b79f (patch) | |
tree | 804cb90beba7dbf5bd92fed7b283bef4f4251762 /gdb | |
parent | b918acf91acd5c088b50e5d0be96a62fd8826134 (diff) | |
download | gdb-8b315be588fdf31c348a0f62c4314745ad10b79f.zip gdb-8b315be588fdf31c348a0f62c4314745ad10b79f.tar.gz gdb-8b315be588fdf31c348a0f62c4314745ad10b79f.tar.bz2 |
* proc-service.c (ps_lgetregs): Don't refetch registers from the
target.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/proc-service.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 35ce8fe..0d2b378 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,10 @@ 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 prototype to take a regcache. Adjust. diff --git a/gdb/gdbserver/proc-service.c b/gdb/gdbserver/proc-service.c index 3bb9194..8827174 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; |