* config/i386/nm-linux.h (PREPARE_TO_PROCEED, ATTCH_LWP,
[deliverable/binutils-gdb.git] / gdb / config / i386 / nm-linux.h
index f95c6fe5a79856f9b76d4ef4a74c7a79bfa59210..daebbb7ff7163a88ac28d6f5679a3c9425e565ea 100644 (file)
@@ -1,5 +1,5 @@
-/* Native support for GNU/Linux, for GDB, the GNU debugger.
-   Copyright (C) 1986, 1987, 1989, 1992, 1996, 1998, 2000
+/* Native support for Linux/x86.
+   Copyright 1986, 1987, 1989, 1992, 1996, 1998, 2000
    Free Software Foundation, Inc.
 
    This file is part of GDB.
@@ -79,4 +79,18 @@ extern CORE_ADDR i386_stopped_by_watchpoint (int);
 extern int i386_insert_watchpoint (int pid, CORE_ADDR addr, int len, int rw);
 extern int i386_remove_watchpoint (int pid, CORE_ADDR addr, int len);
 
-#endif /* #ifndef NM_LINUX_H */
+/* FIXME: kettenis/2000-09-03: This should be moved to ../nm-linux.h
+   once we have converted all Linux targets to use the new threads
+   stuff (without the #undef of course).  */
+
+extern int lin_lwp_prepare_to_proceed (void);
+#undef PREPARE_TO_PROCEED
+#define PREPARE_TO_PROCEED(select_it) lin_lwp_prepare_to_proceed ()
+
+extern void lin_lwp_attach_lwp (int pid, int verbose);
+#define ATTACH_LWP(pid, verbose) lin_lwp_attach_lwp ((pid), (verbose))
+
+extern void lin_thread_get_thread_signals (sigset_t *mask);
+#define GET_THREAD_SIGNALS(mask) lin_thread_get_thread_signals (mask)
+
+#endif /* nm_linux.h */
This page took 0.033548 seconds and 4 git commands to generate.