(supply_gregset, fill_gregset): Replace usage of NUM_GREGS with
I386_NUM_GREGS.
2002-06-15 Mark Kettenis <kettenis@gnu.org>
+ * i386bsd-nat.c: Include "i386-tdep.h".
+ (supply_gregset, fill_gregset): Replace usage of NUM_GREGS with
+ I386_NUM_GREGS.
+
* i386v-nat.c: Remove copnditional inclusion of <asm/debugreg.h>,
and associated comment. They no longer make any sense, since we
don't use this file anymore on Linux.
#endif
#include "gregset.h"
+#include "i386-tdep.h"
\f
/* In older BSD versions we cannot get at some of the segment
{
int i;
- for (i = 0; i < NUM_GREGS; i++)
+ for (i = 0; i < I386_NUM_GREGS; i++)
{
if (CANNOT_FETCH_REGISTER (i))
supply_register (i, NULL);
{
int i;
- for (i = 0; i < NUM_GREGS; i++)
+ for (i = 0; i < I386_NUM_GREGS; i++)
if ((regno == -1 || regno == i) && ! CANNOT_STORE_REGISTER (i))
regcache_collect (i, REG_ADDR (gregsetp, i));
}