aboutsummaryrefslogtreecommitdiff
path: root/gdb/proc-utils.h
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-03-27 02:01:11 +0000
committerKevin Buettner <kevinb@redhat.com>2001-03-27 02:01:11 +0000
commit37de36c6ed76ef0b5f31cff8fd5089dab7c3d136 (patch)
treee0f4efce9cfec93ff3214d754e1e3c4d2530c7bc /gdb/proc-utils.h
parenteb4a6e4f4b7f30d8a6220d7fd807973077221faf (diff)
downloadfsf-binutils-gdb-37de36c6ed76ef0b5f31cff8fd5089dab7c3d136.zip
fsf-binutils-gdb-37de36c6ed76ef0b5f31cff8fd5089dab7c3d136.tar.gz
fsf-binutils-gdb-37de36c6ed76ef0b5f31cff8fd5089dab7c3d136.tar.bz2
Add AIX5 procfs support.
Diffstat (limited to 'gdb/proc-utils.h')
-rw-r--r--gdb/proc-utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/proc-utils.h b/gdb/proc-utils.h
index 06c1efd..1c41964 100644
--- a/gdb/proc-utils.h
+++ b/gdb/proc-utils.h
@@ -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