* expprint.c (print_subexp_standard): Compare against builtin type
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 11 Sep 2008 14:28:47 +0000 (14:28 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 11 Sep 2008 14:28:47 +0000 (14:28 +0000)
commitb806fb9a9bd4e0e47382c411d6e9321d1283445b
tree0b11c8ae8819ea9025164c82b62d0e109ebb35a4
parent3e3b026fee8cd62ac6c2cfc7f86cec972d8f5676
* expprint.c (print_subexp_standard): Compare against builtin type
associated with exp->gdbarch instead of builtin_type_char.

* f-valprint.c (f_val_print): Use extract_unsigned_integer to
extract values of arbitrary logical type.  Handle arbitrary
complex types.

* printcmd.c (float_type_from_length): New function.
(print_scalar_formatted, printf_command): Use it.
gdb/ChangeLog
gdb/expprint.c
gdb/f-valprint.c
gdb/printcmd.c