diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2008-07-31 16:26:58 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2008-07-31 16:26:58 +0000 |
| commit | 820c1c554fcf19ac6ce305cc8a464803e1c8c3e5 (patch) | |
| tree | bc4d0d376ef98a729ddcb08d34eb51a832da3aec /lib/libthread_db/libpthread_db.h | |
| parent | f2512ba12a4287ab799825c7c4f4f260846cf596 (diff) | |
Notes
Diffstat (limited to 'lib/libthread_db/libpthread_db.h')
| -rw-r--r-- | lib/libthread_db/libpthread_db.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libthread_db/libpthread_db.h b/lib/libthread_db/libpthread_db.h index 188da4842732..44c5de6ce93c 100644 --- a/lib/libthread_db/libpthread_db.h +++ b/lib/libthread_db/libpthread_db.h @@ -34,13 +34,14 @@ #include "thread_db_int.h" -struct pt_map { - enum { - PT_NONE, - PT_USER, - PT_LWP - } type; +enum pt_type { + PT_NONE, + PT_USER, + PT_LWP +}; +struct pt_map { + enum pt_type type; union { lwpid_t lwp; psaddr_t thr; |
