* config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
[deliverable/binutils-gdb.git] / gdb / i387-tdep.c
index 1e5da17b5c99ecc4641e82449e55b19304b582e4..6b69405a7dff9772e11cd902c14f08e18b67fcf0 100644 (file)
@@ -15,19 +15,14 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #include "defs.h"
 #include "frame.h"
 #include "inferior.h"
 #include "language.h"
 #include "gdbcore.h"
-#include "ieee-float.h"
-
-struct ext_format ext_format_i387 = {
-/* tot sbyte smask expbyte     manbyte */
-   10, 9,    0x80, 9,8,                4,0             /* i387 */
-};
+#include "floatformat.h"
 
 /* FIXME:  Eliminate these routines when we have the time to change all
    the callers.  */
@@ -37,7 +32,7 @@ i387_to_double (from, to)
      char *from;
      char *to;
 {
-  ieee_extended_to_double (&ext_format_i387, from, (double *)to);
+  floatformat_to_double (&floatformat_i387_ext, from, (double *)to);
 }
 
 void
@@ -45,7 +40,7 @@ double_to_i387 (from, to)
      char *from;
      char *to;
 {
-  double_to_ieee_extended (&ext_format_i387, (double *)from, to);
+  floatformat_from_double (&floatformat_i387_ext, (double *)from, to);
 }
 
 void
This page took 0.023273 seconds and 4 git commands to generate.