This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
arm-tdep.h:#define FP_REGISTER_VIRTUAL_SIZE 8?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 17 Apr 2002 16:41:08 -0400
- Subject: arm-tdep.h:#define FP_REGISTER_VIRTUAL_SIZE 8?
Hmm,
Another think-o? The arm (according to FP_REGISTER_RAW_SIZE) has 12
byte registers. Their type is builtin_type_arm_ext and that ``virtual
type'' has a size of 12 bytes.
I suspect this is another hang-over from when Arm was converting RAW FP
registers (badly) into host FP values. Hmm, if that macro goes, it
looks like all the ..._size() functions can be reduced to:
TYPE_LENGTH(type).
(Back to looking at Arm's ON_STACK).
enjoy,
Andrew