From 37de36c6ed76ef0b5f31cff8fd5089dab7c3d136 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Tue, 27 Mar 2001 02:01:11 +0000 Subject: Add AIX5 procfs support. --- gdb/proc-utils.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gdb/proc-utils.h') 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 -- cgit v1.1