aboutsummaryrefslogtreecommitdiff
path: root/lib/libthread_db/libpthread_db.h
diff options
context:
space:
mode:
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;