This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[COMMIT] Small FreeBSD/i386 cleanup
- From: Mark Kettenis <kettenis at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 12 Jan 2005 00:06:06 +0100 (CET)
- Subject: [COMMIT] Small FreeBSD/i386 cleanup
Paves the road towards removal of config/nm-bsd.h.
Committed,
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* config/i386/nm-fbsd.h: Update copyright year.
Don't include "config/nm-bsd.h".
(KERNEL_U_SIZE): Remove macro.
(kernel_u_size): Remove prototype.
Index: config/i386/nm-fbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nm-fbsd.h,v
retrieving revision 1.12
diff -u -p -r1.12 nm-fbsd.h
--- config/i386/nm-fbsd.h 9 Oct 2004 09:45:48 -0000 1.12
+++ config/i386/nm-fbsd.h 11 Jan 2005 23:03:06 -0000
@@ -1,7 +1,7 @@
/* Native-dependent definitions for FreeBSD/i386.
- Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1997, 2000, 2001, 2004
- Free Software Foundation, Inc.
+ Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1997, 2000, 2001,
+ 2004, 2005 Free Software Foundation, Inc.
This file is part of GDB.
@@ -52,18 +52,6 @@ extern void i386bsd_dr_reset_addr (int r
extern unsigned long i386bsd_dr_get_status (void);
-/* Get generic BSD native definitions. */
-#include "config/nm-bsd.h"
-
-
-/* Support for the user struct. */
-
-/* Return the size of the user struct. */
-
-#define KERNEL_U_SIZE kernel_u_size ()
-extern int kernel_u_size (void);
-
-
/* Shared library support. */
#include "solib.h"