

+v const struct floatformat ** double_format floatformats_ieee_double pformat (gdbarch->double_format) +v int double_bit 8 * sizeof (double) 8*TARGET_CHAR_BIT 0 +v const struct floatformat ** float_format floatformats_ieee_single pformat (gdbarch->float_format) +v int float_bit 8 * sizeof (float) 4*TARGET_CHAR_BIT 0 +v const struct floatformat ** half_format floatformats_ieee_half pformat (gdbarch->half_format) v:const struct floatformat **:long_double_format:::::floatformats_ieee_double::pformat (gdbarch->long_double_format) v:int:long_double_bit:::8 * sizeof (long double):8*TARGET_CHAR_BIT::0 v:const struct floatformat **:double_format:::::floatformats_ieee_double::pformat (gdbarch->double_format) v:int:double_bit:::8 * sizeof (double):8*TARGET_CHAR_BIT::0

v:const struct floatformat **:float_format:::::floatformats_ieee_single::pformat (gdbarch->float_format) v:const struct floatformat **:half_format:::::floatformats_ieee_half::pformat (gdbarch->half_format) # Each format describes both the big and little endian layouts (if These bit/format pairs should eventually be -374,25 +374,25 v:int:long_long_align_bit:::8 * sizeof (LONGEST):2*gdbarch->long_bit::0 # The ABI default bit-size and format for "half", "float", "double", and +v int long_long_align_bit 8 * sizeof (LONGEST) 2*gdbarch->long_bit 0 v:int:long_long_align_bit:::8 * sizeof (LONGEST):2*gdbarch->long_bit::0 # Alignment of a long long or unsigned long long for the target +v int long_long_bit 8 * sizeof (LONGEST) 2*gdbarch->long_bit 0 # Number of bits in a long long or unsigned long long for the target

+v int long_bit 8 * sizeof (long) 4*TARGET_CHAR_BIT 0 # Number of bits in a long or unsigned long for the target machine. +v int int_bit 8 * sizeof (int) 4*TARGET_CHAR_BIT 0 # Number of bits in an int or unsigned int for the target machine. +v int short_bit 8 * sizeof (short) 2*TARGET_CHAR_BIT 0 # Number of bits in a short or unsigned short for the target machine. +# v TARGET_CHAR_BIT int char_bit 8 * sizeof (char) 8 0 # Just like CHAR_BIT in but describes the target machine. # Number of bits in a char or unsigned char for the target machine. +v int bits_big_endian 1 (gdbarch->byte_order = BFD_ENDIAN_BIG) 0 v:int:bits_big_endian:::1:(gdbarch->byte_order = BFD_ENDIAN_BIG)::0 Conceptually, it's quite separate from byte/word byte order. # The bit byte-order has to do just with numbering of bits in debugging symbols +i const struct target_desc * target_desc host_address_to_string (gdbarch->target_desc) i:const struct target_desc *:target_desc:::::::host_address_to_string (gdbarch->target_desc) +i enum gdb_osabi osabi GDB_OSABI_UNKNOWN i:enum gdb_osabi:osabi:::GDB_OSABI_UNKNOWN +i enum bfd_endian byte_order_for_code BFD_ENDIAN_BIG +i enum bfd_endian byte_order BFD_ENDIAN_BIG i:enum bfd_endian:byte_order_for_code:::BFD_ENDIAN_BIG i:enum bfd_endian:byte_order:::BFD_ENDIAN_BIG +i const struct bfd_arch_info * bfd_arch_info &bfd_default_arch_struct gdbarch_bfd_arch_info (gdbarch)->printable_name # Work around this by eliminating ``::''. # treat ``::' as three fields while some treat it as just too. # The semantics of IFS varies between different SH's. */ĭiff -git a/gdb/gdbarch.sh b/gdb/gdbarch.sh Number of bits in a short or unsigned short for the target machine. + v TARGET_CHAR_BIT int char_bit 8 * sizeof (char) 8 0 Just like CHAR_BIT in but describes the target machine. * Number of bits in a char or unsigned char for the target machine. +++ -129,7 +129,7 extern void set_gdbarch_bits_big_endian (struct gdbarch *gdbarch, int bits_big_e

* gdbarch.sh: Use semi-colon as field separator instead of colon. One of the fields, but if you think another character would be more I think there's very little chance we'll ever want to use a semicolon in
#Patch 1 separator Patch#
This patch changes the field separator to use That becomes a problem if we want to use things like The fields in the description of the gdbarch interface are separated Subject: Change field separator in gdbarch.shĭate: Sun, 14:14:00 -0000 Change field separator in gdbarch.sh - Simon Marchi public inbox for help / color / mirror / Atom feed From: Simon Marchi
