summaryrefslogtreecommitdiff
path: root/gdb/gdb_proc_service.h
blob: 1f1ff9e6f051bb6e21f14418b50f15d5c4bc588b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;

#ifndef HAVE_LWPID_T
typedef unsigned int  lwpid_t;
#endif

typedef unsigned long paddr_t;

#ifndef HAVE_PSADDR_T
typedef unsigned long psaddr_t;
#endif

#ifndef HAVE_PRGREGSET_T
typedef gregset_t  prgregset_t;		/* BOGUS BOGUS BOGUS */
#endif

#ifndef HAVE_PRFPREGSET_T
typedef fpregset_t prfpregset_t;	/* BOGUS BOGUS BOGUS */
#endif

struct ps_prochandle;		/* user defined. */