a0ed55327d
Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with predicate. Replace MAX_REGISTER_RAW_SIZE. (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for MAX_REGISTER_VIRTUAL_SIZE. * regcache.c (legacy_max_register_raw_size): New function. (legacy_max_register_virtual_size): New function. * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. (MAX_REGISTER_RAW_SIZE): Define. (legacy_max_register_raw_size): Declare. (legacy_max_register_virtual_size): Declare. * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * vax-tdep.c (vax_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * hppa-tdep.c (hppa_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * avr-tdep.c (avr_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. * d10v-tdep.c (d10v_gdbarch_init): Do not set max_register_raw_size or max_register_virtual_size. |
||
---|---|---|
.. | ||
cygwin.mh | ||
cygwin.mt | ||
embed.mt | ||
fbsd.mh | ||
fbsd.mt | ||
go32.mh | ||
go32.mt | ||
i386aout.mt | ||
i386bsd.mh | ||
i386bsd.mt | ||
i386gnu.mh | ||
i386gnu.mt | ||
i386lynx.mh | ||
i386lynx.mt | ||
i386nw.mt | ||
i386sco4.mh | ||
i386sco5.mh | ||
i386sco.mh | ||
i386sol2.mh | ||
i386sol2.mt | ||
i386v4.mh | ||
i386v42mp.mh | ||
i386v.mh | ||
i386v.mt | ||
interix.mh | ||
interix.mt | ||
linux.mh | ||
linux.mt | ||
nbsd.mt | ||
nbsdaout.mh | ||
nbsdelf.mh | ||
ncr3000.mh | ||
ncr3000.mt | ||
nm-cygwin.h | ||
nm-fbsd.h | ||
nm-go32.h | ||
nm-i386.h | ||
nm-i386bsd.h | ||
nm-i386gnu.h | ||
nm-i386lynx.h | ||
nm-i386sco4.h | ||
nm-i386sco5.h | ||
nm-i386sco.h | ||
nm-i386sol2.h | ||
nm-i386v4.h | ||
nm-i386v42mp.h | ||
nm-i386v.h | ||
nm-interix.h | ||
nm-linux.h | ||
nm-nbsd.h | ||
nm-nbsdaout.h | ||
nm-obsd.h | ||
nm-ptx4.h | ||
nm-symmetry.h | ||
nm-x86-64linux.h | ||
obsd.mh | ||
obsd.mt | ||
ptx4.mh | ||
ptx4.mt | ||
ptx.mh | ||
ptx.mt | ||
symmetry.mh | ||
symmetry.mt | ||
tm-cygwin.h | ||
tm-fbsd.h | ||
tm-go32.h | ||
tm-i386.h | ||
tm-i386bsd.h | ||
tm-i386lynx.h | ||
tm-i386sol2.h | ||
tm-linux.h | ||
tm-nbsd.h | ||
tm-ptx4.h | ||
tm-ptx.h | ||
tm-symmetry.h | ||
tm-vxworks.h | ||
tm-x86-64linux.h | ||
vxworks.mt | ||
x86-64linux.mh | ||
x86-64linux.mt | ||
xm-cygwin.h | ||
xm-go32.h | ||
xm-i386.h | ||
xm-i386bsd.h | ||
xm-i386sco.h | ||
xm-i386v4.h | ||
xm-i386v.h | ||
xm-nbsd.h | ||
xm-ptx4.h | ||
xm-ptx.h | ||
xm-symmetry.h |