2002-08-13 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 13 Aug 2002 23:06:40 +0000 (23:06 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 13 Aug 2002 23:06:40 +0000 (23:06 +0000)
commit53826de97c0834aee03c2e9dc91ea000e3faa1ac
treebeee08fbf7ab30a3cb042c3e74a28c6feab96c5e
parentcd2b29395d7881d7e8e8e8f07eeb52c380d1bb98
2002-08-13  Andrew Cagney  <cagney@redhat.com>

* regcache.c (init_regcache_descr): Overallocate the
raw_register_valid_p array including space for NUM_PSEUDO_REGS.
(registers_changed): Replace NUM_REGS+NUM_PSEUDO_REGS with
num_raw_registers.
(set_register_cached): Add range checking assertions.  Use
current_regcache.
gdb/ChangeLog
gdb/regcache.c