diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-05-23 07:49:05 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-05-23 07:49:05 +0000 |
commit | 6e8cb14ae5bbf686d99416c8f9681d10a95e0548 (patch) | |
tree | 97c3253a796d675e7ea669f35c582d7c185f9163 /gdb/proc-api.c | |
parent | Missed copyright update in last patch. (diff) | |
download | binutils-gdb-6e8cb14ae5bbf686d99416c8f9681d10a95e0548.tar.gz binutils-gdb-6e8cb14ae5bbf686d99416c8f9681d10a95e0548.tar.bz2 binutils-gdb-6e8cb14ae5bbf686d99416c8f9681d10a95e0548.zip |
IRIX GCC fixes from 5.0 branch.
Diffstat (limited to 'gdb/proc-api.c')
-rw-r--r-- | gdb/proc-api.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/proc-api.c b/gdb/proc-api.c index 771a28e6374..cf12d424d65 100644 --- a/gdb/proc-api.c +++ b/gdb/proc-api.c @@ -36,7 +36,9 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include <sys/types.h> #include <sys/procfs.h> #include <sys/proc.h> /* for struct proc */ +#ifdef HAVE_SYS_USER_H #include <sys/user.h> /* for struct user */ +#endif #include <fcntl.h> /* for O_RDWR etc. */ #include <sys/wait.h> @@ -118,8 +120,12 @@ static struct trans ioctl_table[] = { { PIOCGETPTIMER, "PIOCGETPTIMER", "get process timers" }, #endif /* irix event counters */ { PIOCGENTRY, "PIOCGENTRY", "get traced syscall entry set" }, +#if defined (PIOCGETPR) { PIOCGETPR, "PIOCGETPR", "read struct proc" }, +#endif +#if defined (PIOCGETU) { PIOCGETU, "PIOCGETU", "read user area" }, +#endif #if defined (PIOCGETUTK) && (defined(KERNEL) || defined(SHOW_UTT)) /* osf */ { PIOCGETUTK, "PIOCGETUTK", "get the utask struct" }, #endif |