aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/linux-nat.h')
-rw-r--r--gdb/linux-nat.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h
index 74b5edd..95e26b7 100644
--- a/gdb/linux-nat.h
+++ b/gdb/linux-nat.h
@@ -202,9 +202,7 @@ struct lwp_info : intrusive_list_node<lwp_info>
{
lwp_info (ptid_t ptid)
: ptid (ptid)
- {
- waitstatus.kind = TARGET_WAITKIND_IGNORE;
- }
+ {}
~lwp_info ();
@@ -212,7 +210,7 @@ struct lwp_info : intrusive_list_node<lwp_info>
/* The process id of the LWP. This is a combination of the LWP id
and overall process id. */
- ptid_t ptid;
+ ptid_t ptid = null_ptid;
/* If this flag is set, we need to set the event request flags the
next time we see this LWP stop. */