2003-05-08 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Thu, 8 May 2003 22:33:14 +0000 (22:33 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 8 May 2003 22:33:14 +0000 (22:33 +0000)
commit123a958e016784942d494e94a55827db9c11fd9a
tree3602d47a73423eacac376227d4361d05907dd85b
parenteb294659eb81c6e37c4efb5a3f9d6c3f94857b2e
2003-05-08  Andrew Cagney  <cagney@redhat.com>

* regcache.h (max_register_size): Delete declaration.
* regcache.c (max_register_size): Delete function.
(struct regcache_descr): Delete field "max_register_size".
(init_regcache_descr, init_legacy_regcache_descr): Assert that all
registers fit in MAX_REGISTER_SIZE.
(regcache_save): Replace max_register_size with MAX_REGISTER_SIZE.
(regcache_restore, regcache_xfer_part, regcache_dump): Ditto.
* thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE.
* sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto.
* remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto.
* m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto.
* hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto.
* dve3900-rom.c, hppa-tdep.c: Ditto.
20 files changed:
gdb/ChangeLog
gdb/dve3900-rom.c
gdb/hppa-tdep.c
gdb/hppab-nat.c
gdb/hppah-nat.c
gdb/hpux-thread.c
gdb/irix4-nat.c
gdb/lynx-nat.c
gdb/m68klinux-nat.c
gdb/mips-nat.c
gdb/mipsv4-nat.c
gdb/monitor.c
gdb/regcache.c
gdb/regcache.h
gdb/remote-e7000.c
gdb/remote-mips.c
gdb/remote-sim.c
gdb/rom68k-rom.c
gdb/sh-tdep.c
gdb/thread-db.c