1999-12-22 22:45:38 +01:00
|
|
|
typedef enum {
|
|
|
|
PS_OK, /* generic "call succeeded" */
|
|
|
|
PS_ERR, /* generic. */
|
|
|
|
PS_BADPID, /* bad process handle */
|
|
|
|
PS_BADLID, /* bad lwp identifier */
|
|
|
|
PS_BADADDR, /* bad address */
|
|
|
|
PS_NOSYM, /* p_lookup() could not find given symbol */
|
|
|
|
PS_NOFREGS
|
|
|
|
/*
|
|
|
|
* FPU register set not available for given
|
|
|
|
* lwp
|
|
|
|
*/
|
|
|
|
} ps_err_e;
|
|
|
|
|
2000-02-16 14:45:24 +01:00
|
|
|
#ifndef HAVE_LWPID_T
|
1999-12-22 22:45:38 +01:00
|
|
|
typedef unsigned int lwpid_t;
|
2000-02-16 14:45:24 +01:00
|
|
|
#endif
|
|
|
|
|
1999-12-22 22:45:38 +01:00
|
|
|
typedef unsigned long paddr_t;
|
|
|
|
|
2000-02-16 14:45:24 +01:00
|
|
|
#ifndef HAVE_PSADDR_T
|
|
|
|
typedef unsigned long psaddr_t;
|
|
|
|
#endif
|
1999-12-22 22:45:38 +01:00
|
|
|
|
2000-02-16 14:45:24 +01:00
|
|
|
#ifndef HAVE_PRGREGSET_T
|
1999-12-22 22:45:38 +01:00
|
|
|
typedef gregset_t prgregset_t; /* BOGUS BOGUS BOGUS */
|
2000-02-16 14:45:24 +01:00
|
|
|
#endif
|
1999-12-22 22:45:38 +01:00
|
|
|
|
2000-02-16 14:45:24 +01:00
|
|
|
#ifndef HAVE_PRFPREGSET_T
|
|
|
|
typedef fpregset_t prfpregset_t; /* BOGUS BOGUS BOGUS */
|
|
|
|
#endif
|
1999-12-22 22:45:38 +01:00
|
|
|
|
|
|
|
struct ps_prochandle; /* user defined. */
|