* linux-low.c (usr_fetch_inferior_registers): Remove check for regno 0.

* proc-service.c (ps_lgetregs): Pass -1 to fetch all registers.
	* regcache.c (get_regcache): Likewise.
	* spu-low.c (spu_fetch_registers): Remove 0 to -1 conversion.
	* win32-low.c (child_fetch_inferior_registers): Remove check for
	regno 0.
This commit is contained in:
Aleksandar Ristovski
2009-06-22 19:33:41 +00:00
parent f667014e3f
commit 4463ce244d
6 changed files with 13 additions and 8 deletions

View File

@ -2054,7 +2054,7 @@ error_exit:;
static void
usr_fetch_inferior_registers (int regno)
{
if (regno == -1 || regno == 0)
if (regno == -1)
for (regno = 0; regno < the_low_target.num_regs; regno++)
fetch_register (regno);
else