(fetch_fpregs): Simplify code dealing with uninitialized floating
point states such that it doesn't require FP7_REGNUM.
+2002-01-19 Mark Kettenis <kettenis@gnu.org>
+
+ * i386gnu-nat.c: Include "i386-tdep.h".
+ (fetch_fpregs): Simplify code dealing with uninitialized floating
+ point states such that it doesn't require FP7_REGNUM.
+
2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
* alpha-tdep.c (frame_extra_info): New.
#include <mach/message.h>
#include <mach/exception.h>
+#include "i386-tdep.h"
+
#include "gnu-nat.h"
#include "i387-nat.h"
{
int i;
- for (i = FP0_REGNUM; i <= FP7_REGNUM; i++)
- supply_register (i, NULL);
- for (i = FCTRL_REGNUM; i <= FOP_REGNUM; i++)
+ for (i = FP0_REGNUM; i <= FOP_REGNUM; i++)
supply_register (i, NULL);
return;