eade0c6ce8
an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT. * defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h. If BFD64, make a LONGEST a BFD_HOST_64_BIT. * defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead always just check against INT_MIN and INT_MAX (this also fixes things if sizeof (long) > sizeof (int), e.g. Alpha). * config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h: Don't define LONGEST or BUILTIN_TYPE_LONGEST. * gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and BUILTIN_TYPE_UNSIGNED_LONGEST. * language.h, c-lang.c, ch-lang.c, m2-lang.c: Remove longest_int and longest_unsigned_int. * value.h (struct value): Just align to LONGEST, rather than worrying about CC_HAS_LONG_LONG. * valarith.c (value_binop, _initialize_valarith): Figure out type ourself based on sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The point is that we don't depend on CC_HAS_LONG_LONG anymore. * valprint.c (val_print_type_code_int): Just call extract_unsigned_integer directly, rather than going through unpack_long. * printcmd.c (decode_format): Remove code which would sometimes change 'g' size to 'w' for integers. print_scalar_formatted handles printing huge integers well enough, thank you. |
||
---|---|---|
.. | ||
a29k | ||
alpha | ||
arm | ||
h8300 | ||
h8500 | ||
i386 | ||
i960 | ||
m68k | ||
m88k | ||
mips | ||
none | ||
ns32k | ||
pa | ||
rs6000 | ||
sh | ||
sparc | ||
vax | ||
z8k | ||
.Sanitize | ||
nm-lynx.h | ||
nm-m3.h | ||
nm-sysv4.h | ||
nm-trash.h | ||
tm-lynx.h | ||
tm-sunos.h | ||
tm-sysv4.h | ||
xm-lynx.h | ||
xm-sysv4.h |