* Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
[deliverable/binutils-gdb.git] / gdb / config / sparc / nm-linux.h
index 781b97f1de98202a7fae7dec9ad35d6b3b941409..cfab3893ca5a2bdc6d16b36cf9ee9c80a861dc1a 100644 (file)
@@ -1,5 +1,7 @@
-/* Macro definitions for running gdb on a Sparc running Linux.
-   Copyright (C) 1989, 1992, 1996, 1998, 2000 Free Software Foundation, Inc.
+/* Native-dependent definitions for GNU/Linux SPARC.
+
+   Copyright 1989, 1992, 1996, 1998, 1999, 2000, 2002, 2003
+   Free Software Foundation, Inc.
 
    This file is part of GDB.
 
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#include <nm-sysv4.h>
-#include "nm-linux.h"
-#include "solib.h"
+#ifndef NM_LINUX_H
+#define NM_LINUX_H
 
-#define FETCH_INFERIOR_REGISTERS
+#include "config/nm-linux.h"
+
+/* Type of the third argument to the `ptrace' system call.  */
+#define PTRACE_ARG3_TYPE long
 
-/* Return sizeof user struct to callers in less machine dependent routines */
+/* Type of the fourth argument to the `ptrace' system call.  */
+#define PTRACE_XFER_TYPE long
+
+/* Override copies of {fetch,store}_inferior_registers in `infptrace.c'.  */
+#define FETCH_INFERIOR_REGISTERS
 
-#define KERNEL_U_SIZE kernel_u_size()
-extern int kernel_u_size (void);
+#endif /* nm-linux.h */
This page took 0.024841 seconds and 4 git commands to generate.