<machine/vmparam.h>.
(KERNEL_U_ADDR, REGISTER_U_ADDR): Remove defines.
(register_u_addr): Remove prototype.
+2004-09-20 Mark Kettenis <kettenis@gnu.org>
+
+ * config/i386/nm-fbsd.h, config/i386/nm-obsd.h: Don't include
+ <machine/vmparam.h>.
+ (KERNEL_U_ADDR, REGISTER_U_ADDR): Remove defines.
+ (register_u_addr): Remove prototype.
+
2004-09-19 Mark Kettenis <kettenis@gnu.org>
* i386bsd-nat.c: Include "i386bsd-nat.h" and "inf-ptrace.h".
#define KERNEL_U_SIZE kernel_u_size ()
extern int kernel_u_size (void);
-
-/* This is the amount to subtract from u.u_ar0
- to get the offset in the core file of the register values. */
-
-#include <machine/vmparam.h>
-#define KERNEL_U_ADDR USRSTACK
-
-#define REGISTER_U_ADDR(addr, blockend, regno) \
- (addr) = register_u_addr ((blockend), (regno))
-extern CORE_ADDR register_u_addr (CORE_ADDR blockend, int regno);
\f
/* Shared library support. */
#define KERNEL_U_SIZE kernel_u_size ()
extern int kernel_u_size (void);
-
-/* This is the amount to subtract from u.u_ar0
- to get the offset in the core file of the register values. */
-
-#include <machine/vmparam.h>
-#define KERNEL_U_ADDR USRSTACK
-
-#define REGISTER_U_ADDR(addr, blockend, regno) \
- (addr) = register_u_addr ((blockend), (regno))
-extern CORE_ADDR register_u_addr (CORE_ADDR blockend, int regno);
\f
/* Shared library support. */