OSDN Git Service

* ada-lang.c (cast_to_fixed): Do not cast to builtin_type_double.
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 11 Sep 2008 14:18:34 +0000 (14:18 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 11 Sep 2008 14:18:34 +0000 (14:18 +0000)
commit4f76ba7feb37cf73b55a45c0e0a56336f9c793dc
tree16a8dba77fbafc9bcc6aacc82783c05da4d1d2b4
parent514556c9b28f12fcc07352984a193d0b6a95e248
* ada-lang.c (cast_to_fixed): Do not cast to builtin_type_double.
(cast_from_fixed_to_double): Rename to ...
(cast_from_fixed): ... this.  Add TYPE parameter.  Use it instead
of builtin_type_double.
(ada_value_cast): Use cast_from_fixed instead of casting result
of cast_from_fixed_to_double.
(ada_evaluate_subexp): Update calls to cast_from_fixed_to_double.
gdb/ChangeLog
gdb/ada-lang.c