OSDN Git Service

* expprint.c (print_subexp_standard): Compare against builtin type
authoruweigand <uweigand>
Thu, 11 Sep 2008 14:28:47 +0000 (14:28 +0000)
committeruweigand <uweigand>
Thu, 11 Sep 2008 14:28:47 +0000 (14:28 +0000)
commit8cbe0647266c557976c978ffd09fdffdf8d961ec
tree6e79c1c7220bc5a7d8eaa27a58d22bfb37c40b8f
parent0527852ec3e25de6de0292fe024b1369a3233a93
* 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