From 86d9e1d7975723b6e147d05f2a1dd630a1844689 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 19 Sep 2004 22:08:47 +0000 Subject: [PATCH] * config/i386/nm-fbsd.h, config/i386/nm-obsd.h: Don't include . (KERNEL_U_ADDR, REGISTER_U_ADDR): Remove defines. (register_u_addr): Remove prototype. --- gdb/ChangeLog | 7 +++++++ gdb/config/i386/nm-fbsd.h | 10 ---------- gdb/config/i386/nm-obsd.h | 10 ---------- 3 files changed, 7 insertions(+), 20 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 95125a01d33..5be627b77dd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2004-09-20 Mark Kettenis + + * config/i386/nm-fbsd.h, config/i386/nm-obsd.h: Don't include + . + (KERNEL_U_ADDR, REGISTER_U_ADDR): Remove defines. + (register_u_addr): Remove prototype. + 2004-09-19 Mark Kettenis * 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 7374dc9dcea..1caff24e179 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 -#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 7fd32ca7c43..99d8b61b891 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 -#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. */ -- 2.30.2