aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/config/i386/nm-fbsd.h10
-rw-r--r--gdb/config/i386/nm-obsd.h10
3 files changed, 7 insertions, 20 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 95125a0..5be627b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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".
diff --git a/gdb/config/i386/nm-fbsd.h b/gdb/config/i386/nm-fbsd.h
index 7374dc9..1caff24 100644
--- a/gdb/config/i386/nm-fbsd.h
+++ b/gdb/config/i386/nm-fbsd.h
@@ -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. */
diff --git a/gdb/config/i386/nm-obsd.h b/gdb/config/i386/nm-obsd.h
index 7fd32ca..99d8b61 100644
--- a/gdb/config/i386/nm-obsd.h
+++ b/gdb/config/i386/nm-obsd.h
@@ -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. */