forked from Imagelibrary/binutils-gdb
* 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:
@@ -331,7 +331,7 @@ child_fetch_inferior_registers (int r)
|
||||
{
|
||||
int regno;
|
||||
win32_thread_info *th = thread_rec (current_inferior_ptid (), TRUE);
|
||||
if (r == -1 || r == 0 || r > NUM_REGS)
|
||||
if (r == -1 || r > NUM_REGS)
|
||||
child_fetch_inferior_registers (NUM_REGS);
|
||||
else
|
||||
for (regno = 0; regno < r; regno++)
|
||||
|
||||
Reference in New Issue
Block a user