mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 20:49:43 +00:00
* gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
* gdbarch.h, gdbarch.c: Re-generate.
This commit is contained in:
parent
5d6e06d90f
commit
17ef5d9211
@ -1,3 +1,8 @@
|
||||
2002-02-16 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
|
||||
* gdbarch.h, gdbarch.c: Re-generate.
|
||||
|
||||
2002-02-16 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* valarith.c (value_x_unop): Fix decrement; support post-decrement.
|
||||
|
@ -451,7 +451,7 @@ gdbarch_alloc (const struct gdbarch_info *info,
|
||||
current_gdbarch->long_long_bit = 2*TARGET_LONG_BIT;
|
||||
current_gdbarch->float_bit = 4*TARGET_CHAR_BIT;
|
||||
current_gdbarch->double_bit = 8*TARGET_CHAR_BIT;
|
||||
current_gdbarch->long_double_bit = 2*TARGET_DOUBLE_BIT;
|
||||
current_gdbarch->long_double_bit = 8*TARGET_CHAR_BIT;
|
||||
current_gdbarch->ptr_bit = TARGET_INT_BIT;
|
||||
current_gdbarch->bfd_vma_bit = TARGET_ARCHITECTURE->bits_per_address;
|
||||
current_gdbarch->char_signed = -1;
|
||||
|
@ -212,7 +212,7 @@ extern void set_gdbarch_double_bit (struct gdbarch *gdbarch, int double_bit);
|
||||
|
||||
/* Default (value) for non- multi-arch platforms. */
|
||||
#if (!GDB_MULTI_ARCH) && !defined (TARGET_LONG_DOUBLE_BIT)
|
||||
#define TARGET_LONG_DOUBLE_BIT (2*TARGET_DOUBLE_BIT)
|
||||
#define TARGET_LONG_DOUBLE_BIT (8*TARGET_CHAR_BIT)
|
||||
#endif
|
||||
|
||||
extern int gdbarch_long_double_bit (struct gdbarch *gdbarch);
|
||||
|
@ -393,7 +393,7 @@ v::TARGET_FLOAT_BIT:int:float_bit::::8 * sizeof (float):4*TARGET_CHAR_BIT::0
|
||||
# Number of bits in a double for the target machine.
|
||||
v::TARGET_DOUBLE_BIT:int:double_bit::::8 * sizeof (double):8*TARGET_CHAR_BIT::0
|
||||
# Number of bits in a long double for the target machine.
|
||||
v::TARGET_LONG_DOUBLE_BIT:int:long_double_bit::::8 * sizeof (long double):2*TARGET_DOUBLE_BIT::0
|
||||
v::TARGET_LONG_DOUBLE_BIT:int:long_double_bit::::8 * sizeof (long double):8*TARGET_CHAR_BIT::0
|
||||
# For most targets, a pointer on the target and its representation as an
|
||||
# address in GDB have the same size and "look the same". For such a
|
||||
# target, you need only set TARGET_PTR_BIT / ptr_bit and TARGET_ADDR_BIT
|
||||
|
Loading…
Reference in New Issue
Block a user