* 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.
This commit is contained in:
Mark Kettenis 2004-09-19 22:08:47 +00:00
parent 9692934b4c
commit 86d9e1d797
3 changed files with 7 additions and 20 deletions

View File

@ -1,3 +1,10 @@
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".

View File

@ -62,16 +62,6 @@ extern unsigned long i386bsd_dr_get_status (void);
#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);
/* Shared library support. */

View File

@ -31,16 +31,6 @@
#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);
/* Shared library support. */