diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-03-27 02:01:11 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-03-27 02:01:11 +0000 |
commit | 02ce5c4d8fd35827ab0f77e901da69ee5cb192c2 (patch) | |
tree | a2cb639fc3cb218df0f23c097ae32c912b2d9caa /gdb/proc-utils.h | |
parent | b39eae6df59dbbc67d9922e5d3381956fe65a8a3 (diff) | |
download | gdb-02ce5c4d8fd35827ab0f77e901da69ee5cb192c2.tar.gz |
Add AIX5 procfs support.
Diffstat (limited to 'gdb/proc-utils.h')
-rw-r--r-- | gdb/proc-utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/proc-utils.h b/gdb/proc-utils.h index 06c1efd62f5..1c419649184 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 |