s/Linux/.../
[deliverable/binutils-gdb.git] / gdb / config / alpha / nm-linux.h
index 99df5c681e0c5749dc649b37354bccb9e9c09d70..5d5e945c773859b2c3849bbb33578551d79cec25 100644 (file)
@@ -1,5 +1,7 @@
-/* Native definitions for alpha running Linux.
-   Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+/* Native definitions for alpha running GNU/Linux.
+
+   Copyright 1993, 1994, 1996, 1998, 2000, 2001, 2002 Free Software
+   Foundation, Inc.
 
    This file is part of GDB.
 
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#ifndef NM_LINUX_H
+#define NM_LINUX_H
+
+#include "nm-linux.h"
+
 /* Figure out where the longjmp will land.  We expect that we have just entered
    longjmp and haven't yet setup the stack frame, so the args are still in the
    argument regs.  A0_REGNUM points at the jmp_buf structure from which we
    This routine returns true on success */
 
 #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
-extern int
-get_longjmp_target PARAMS ((CORE_ADDR *));
-
-/* Tell gdb that we can attach and detach other processes */
-#define ATTACH_DETACH
+extern int get_longjmp_target (CORE_ADDR *);
 
 /* ptrace register ``addresses'' are absolute.  */
 
 #define U_REGS_OFFSET 0
 
+/* FIXME: This is probably true, or should be, on all GNU/Linux ports.
+   IA64?  Sparc64?  */
 #define PTRACE_ARG3_TYPE long
 
 /* ptrace transfers longs, the ptrace man page is lying.  */
@@ -45,23 +50,12 @@ get_longjmp_target PARAMS ((CORE_ADDR *));
 
 #define CANNOT_STEP_BREAKPOINT
 
-/* Linux has shared libraries.  */
+/* GNU/Linux has shared libraries.  */
 
 #define GDB_TARGET_HAS_SHARED_LIBS
 
-/* Support for shared libraries.  */
-
-#include "solib.h"
-
-#ifdef __ELF__
-#define SVR4_SHARED_LIBS
-#define TARGET_ELF64
-#endif
-
-/* This is a lie.  It's actually in stdio.h. */
-
-#define PSIGNAL_IN_SIGNAL_H
-
 /* Given a pointer to either a gregset_t or fpregset_t, return a
    pointer to the first register.  */
 #define ALPHA_REGSET_BASE(regsetp)  ((long *) (regsetp))
+
+#endif /* NM_LINUX_H */
This page took 0.023829 seconds and 4 git commands to generate.