/* Native support for i386 running SVR4.
- Copyright 1986, 1987, 1989, 1992, 1996 Free Software Foundation, Inc.
+ Copyright 1986, 1987, 1989, 1992, 1993, 1996, 2007
+ Free Software Foundation, Inc.
Changes for 80386 by Pace Willisson (pace@prep.ai.mit.edu), July 1988.
This file is part of GDB.
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include "nm-sysv4.h"
+/* SVR4 has /proc support, so use it instead of ptrace. */
-/* Poll causes GDB to hang, at least under Unixware 1.1.2. */
-#define LOSING_POLL
+#define USE_PROC_FS
+
+/* This is the amount to subtract from u.u_ar0
+ to get the offset in the core file of the register values. */
+#define KERNEL_U_ADDR 0xe0000000