Fix typo in ada_language_arch_info
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 6 Sep 2016 15:22:51 +0000 (17:22 +0200)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 6 Sep 2016 15:22:51 +0000 (17:22 +0200)
commit5f3bceb68dd211be977eb61d5f1ea68e7de51b7a
treea1a0dc5fd8d5e8fc0ea57161520fc2bd34ba51ec
parent21b65bac42c899df2049cdbd472b2e7242a40fbe
Fix typo in ada_language_arch_info

This fixes a bug introduced by a wrong replacement here:
https://sourceware.org/ml/gdb-patches/2007-06/msg00196.html

The Ada "long_long_float" type is supposed to correspond to the
platform ABI long double type, not double.

gdb/ChangeLog:

* ada-lang.c (ada_language_arch_info): Use gdbarch_long_double_bit
instead of gdbarch_double_bit for "long_long_float".

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
gdb/ChangeLog
gdb/ada-lang.c