aboutsummaryrefslogtreecommitdiff
path: root/lib/libthread_db/libpthread_db.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2008-07-31 16:26:58 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2008-07-31 16:26:58 +0000
commit820c1c554fcf19ac6ce305cc8a464803e1c8c3e5 (patch)
treebc4d0d376ef98a729ddcb08d34eb51a832da3aec /lib/libthread_db/libpthread_db.h
parentf2512ba12a4287ab799825c7c4f4f260846cf596 (diff)
Notes
Diffstat (limited to 'lib/libthread_db/libpthread_db.h')
-rw-r--r--lib/libthread_db/libpthread_db.h13
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;