Follow changes from i386 version.

This commit is contained in:
Ulrich Drepper 1999-11-12 21:27:08 +00:00
parent 67b11b531e
commit 1e70a8a375
3 changed files with 37 additions and 6 deletions

View File

@ -17,17 +17,17 @@
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#ifndef _SYS_PROCFS_H #ifndef _SYS_PROCFS_H
#define _SYS_PROCFS_H 1 #define _SYS_PROCFS_H 1
#include <features.h>
/* This is somehow modelled after the file of the same name on SysVr4 /* This is somehow modelled after the file of the same name on SysVr4
systems. It provides a definition of the core file format for ELF systems. It provides a definition of the core file format for ELF
used on Linux. */ used on Linux. */
#include <features.h>
#include <signal.h> #include <signal.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/ucontext.h>
#include <sys/user.h> #include <sys/user.h>
#include <asm/elf.h> #include <asm/elf.h>
@ -100,6 +100,16 @@ struct elf_prpsinfo
char pr_psargs[ELF_PRARGSZ]; /* Initial part of arg list. */ char pr_psargs[ELF_PRARGSZ]; /* Initial part of arg list. */
}; };
/* Addresses. */
typedef void *psaddr_t;
/* Register sets. Linux has different names. */
typedef gregset_t prgregset_t;
typedef fpregset_t prfpregset_t;
/* We don't have any differences between processes and threads,
therefore habe only ine PID type. */
typedef __pid_t lwpid_t;
/* Addresses. */ /* Addresses. */
typedef void *psaddr_t; typedef void *psaddr_t;

View File

@ -17,17 +17,17 @@
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#ifndef _SYS_PROCFS_H #ifndef _SYS_PROCFS_H
#define _SYS_PROCFS_H 1 #define _SYS_PROCFS_H 1
#include <features.h>
/* This is somehow modelled after the file of the same name on SysVr4 /* This is somehow modelled after the file of the same name on SysVr4
systems. It provides a definition of the core file format for ELF systems. It provides a definition of the core file format for ELF
used on Linux. */ used on Linux. */
#include <features.h>
#include <signal.h> #include <signal.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/ucontext.h>
#include <sys/user.h> #include <sys/user.h>
#include <sys/elf.h> #include <sys/elf.h>
@ -90,6 +90,16 @@ struct elf_prpsinfo
char pr_psargs[ELF_PRARGSZ]; /* Initial part of arg list. */ char pr_psargs[ELF_PRARGSZ]; /* Initial part of arg list. */
}; };
/* Addresses. */
typedef void *psaddr_t;
/* Register sets. Linux has different names. */
typedef gregset_t prgregset_t;
typedef fpregset_t prfpregset_t;
/* We don't have any differences between processes and threads,
therefore habe only ine PID type. */
typedef __pid_t lwpid_t;
/* Addresses. */ /* Addresses. */
typedef void *psaddr_t; typedef void *psaddr_t;

View File

@ -17,17 +17,17 @@
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#ifndef _SYS_PROCFS_H #ifndef _SYS_PROCFS_H
#define _SYS_PROCFS_H 1 #define _SYS_PROCFS_H 1
#include <features.h>
/* This is somehow modelled after the file of the same name on SysVr4 /* This is somehow modelled after the file of the same name on SysVr4
systems. It provides a definition of the core file format for ELF systems. It provides a definition of the core file format for ELF
used on Linux. */ used on Linux. */
#include <features.h>
#include <signal.h> #include <signal.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/ucontext.h>
#include <sys/user.h> #include <sys/user.h>
#include <asm/elf.h> #include <asm/elf.h>
@ -100,6 +100,17 @@ struct elf_prpsinfo
char pr_psargs[ELF_PRARGSZ]; /* Initial part of arg list. */ char pr_psargs[ELF_PRARGSZ]; /* Initial part of arg list. */
}; };
/* Addresses. */
typedef void *psaddr_t;
/* Register sets. Linux has different names. */
typedef gregset_t prgregset_t;
typedef fpregset_t prfpregset_t;
/* We don't have any differences between processes and threads,
therefore habe only ine PID type. */
typedef __pid_t lwpid_t;
/* Addresses. */ /* Addresses. */
typedef void *psaddr_t; typedef void *psaddr_t;