* s390-tdep.c (s390_register_name): S390_LAST_REGNUM is, in fact,
authorJim Blandy <jimb@codesourcery.com>
Wed, 19 Dec 2001 23:07:53 +0000 (23:07 +0000)
committerJim Blandy <jimb@codesourcery.com>
Wed, 19 Dec 2001 23:07:53 +0000 (23:07 +0000)
commitb09677dcf8a9bdd68e824964d379eabeda1e39df
tree68c31ad2b086a827db5ace03d3f00de5af3fafb6
parent59aec90c279464497e7a6226de358ac0cc5ed11c
* s390-tdep.c (s390_register_name): S390_LAST_REGNUM is, in fact,
the last register number, not one greater than the last register
number.

* s390-tdep.c (s390_register_virtual_type): Replace clever but
incorrect range comparison with correct, legible equivalent.
gdb/ChangeLog
gdb/s390-tdep.c