mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 03:24:41 +08:00
2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* sh-tdep.c (sh_print_register): Don't leave regnum 0 out of the non-pseudo-regs group.
This commit is contained in:
parent
a8c548cb0c
commit
e30839fee3
@ -1,3 +1,8 @@
|
||||
2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
|
||||
|
||||
* sh-tdep.c (sh_print_register): Don't leave regnum 0 out of the
|
||||
non-pseudo-regs group.
|
||||
|
||||
2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
|
||||
|
||||
* sh-tdep.c (sh_gdbarch_init): Move setting of breakpoint_from_pc
|
||||
|
@ -1747,7 +1747,7 @@ sh_print_register (int regnum)
|
||||
if (regnum < 0 || regnum >= NUM_REGS + NUM_PSEUDO_REGS)
|
||||
internal_error ("Invalid register number %d\n", regnum);
|
||||
|
||||
else if (regnum > 0 && regnum < NUM_REGS)
|
||||
else if (regnum >= 0 && regnum < NUM_REGS)
|
||||
{
|
||||
if (TYPE_CODE (REGISTER_VIRTUAL_TYPE (regnum)) == TYPE_CODE_FLT)
|
||||
sh_do_fp_register (regnum); /* FP regs */
|
||||
|
Loading…
Reference in New Issue
Block a user