#include "inferior.h"
#include "gdbcore.h"
#include "target.h"
+#include "floatformat.h"
#include "symtab.h"
static long
{
if (TYPE_CODE_FLT == TYPE_CODE(type))
{
- extern struct ext_format ext_format_i387;
double d;
/* 387 %st(0), gcc uses this */
- ieee_extended_to_double (&ext_format_i387,
- ®buf[REGISTER_BYTE(FP0_REGNUM)],
- &d);
+ floatformat_to_double (&floatformat_i387_ext,
+ ®buf[REGISTER_BYTE(FP0_REGNUM)],
+ &d);
store_floating (valbuf, TYPE_LENGTH (type), d);
}
else
{
if (STREQ (name, "_sigreturn"))
saved_pc_offset = 132 + 14 * 4;
- if (STREQ (name, "_sigacthandler"))
+ else if (STREQ (name, "_sigacthandler"))
saved_pc_offset = 80 + 14 * 4;
- if (STREQ (name, "sigvechandler"))
+ else if (STREQ (name, "sigvechandler"))
saved_pc_offset = 120 + 14 * 4;
}