mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
* 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:
@ -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
|
||||
|
Reference in New Issue
Block a user