diff options
| author | Rui Paulo <rpaulo@FreeBSD.org> | 2010-11-08 12:54:55 +0000 |
|---|---|---|
| committer | Rui Paulo <rpaulo@FreeBSD.org> | 2010-11-08 12:54:55 +0000 |
| commit | 13b142271f7a4ec083c13ef9a39dd85253e145c1 (patch) | |
| tree | 272b9bd4622d88ae38530e34b06c5a616e95e078 /lib/libproc/_libproc.h | |
| parent | 7de9e73786cdb907bfe5226599192da0527825e9 (diff) | |
Notes
Diffstat (limited to 'lib/libproc/_libproc.h')
| -rw-r--r-- | lib/libproc/_libproc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libproc/_libproc.h b/lib/libproc/_libproc.h index 536227e29bf3..aee1ac1f67f8 100644 --- a/lib/libproc/_libproc.h +++ b/lib/libproc/_libproc.h @@ -31,6 +31,7 @@ #include <sys/types.h> #include <sys/event.h> #include <sys/ptrace.h> +#include <rtld_db.h> #include "libproc.h" @@ -39,5 +40,16 @@ struct proc_handle { int kq; /* Kernel event queue ID. */ int flags; /* Process flags. */ int status; /* Process status (PS_*). */ + int wstat; /* Process wait status. */ + rd_agent_t *rdap; /* librtld_db agent */ + rd_loadobj_t *rdobjs; + size_t rdobjsz; + size_t nobjs; + struct lwpstatus lwps; }; +#ifdef DEBUG +#define DPRINTF(fmt, ...) warn(fmt, __VA_ARGS__) +#else +#define DPRINTF(fmt, ...) +#endif |
