X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Fproc-utils.h;h=1c41964918486f8b72c91ff7896b905fc37dd8da;hb=02e423b9b296edcf2fc50161c361062727a3263d;hp=7274550d92394bc88248a6deeb40baae55075901;hpb=d0352a18a504a4e7b761f6b3264cf11347d8d056;p=binutils-gdb.git diff --git a/gdb/proc-utils.h b/gdb/proc-utils.h index 7274550d923..1c419649184 100644 --- a/gdb/proc-utils.h +++ b/gdb/proc-utils.h @@ -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