Add self to MAINTAINERS.
[deliverable/binutils-gdb.git] / gdb / proc-utils.h
index 7274550d92394bc88248a6deeb40baae55075901..1c41964918486f8b72c91ff7896b905fc37dd8da 100644 (file)
@@ -1,5 +1,5 @@
 /* Machine independent support for SVR4 /proc (process file system) for GDB.
-   Copyright 1999 Free Software Foundation, Inc.
+   Copyright 1999, 2000 Free Software Foundation, Inc.
 
 This file is part of GDB.
 
@@ -92,3 +92,11 @@ extern  void  procfs_note      (char *, char *, int);
 #define PROCFS_NOTE(X) procfs_note      (X,       __FILE__, __LINE__)
 #define PROC_PRETTYFPRINT_STATUS(X,Y,Z,T) \
      proc_prettyfprint_status (X, Y, Z, T)
+
+/* Define the type (and more importantly the width) of the control
+   word used to write to the /proc/PID/ctl file. */
+#if defined (PROC_CTL_WORD_TYPE)
+typedef PROC_CTL_WORD_TYPE procfs_ctl_t;
+#else
+typedef long procfs_ctl_t;
+#endif
This page took 0.025044 seconds and 4 git commands to generate.