* proc-service.c (ps_lgetregs): Don't refetch registers from the
target.
This commit is contained in:
parent
b918acf91a
commit
8b315be588
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue