2001-12-20 Elena Zannoni <ezannoni@redhat.com>
* rs6000-nat.c (fetch_register): Don't error out unless the register number is really bogus.
This commit is contained in:
parent
a790644d3c
commit
2a18e3d9a9
2 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-12-20 Elena Zannoni <ezannoni@redhat.com>
|
||||
|
||||
* rs6000-nat.c (fetch_register): Don't error out unless the
|
||||
register number is really bogus.
|
||||
|
||||
2001-12-20 Michael Snyder <msnyder@redhat.com>
|
||||
|
||||
* maint.c (maintenance_info_sections): Accept new argument
|
||||
|
|
|
@ -206,9 +206,12 @@ fetch_register (int regno)
|
|||
|
||||
/* Bogus register number. */
|
||||
else if (regno > LAST_UISA_SP_REGNUM)
|
||||
fprintf_unfiltered (gdb_stderr,
|
||||
"gdb error: register no %d not implemented.\n",
|
||||
regno);
|
||||
{
|
||||
if (regno >= NUM_REGS)
|
||||
fprintf_unfiltered (gdb_stderr,
|
||||
"gdb error: register no %d not implemented.\n",
|
||||
regno);
|
||||
}
|
||||
|
||||
/* Fixed-point registers. */
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue