gdbserver: initialize the members of lwp_info in-class
[deliverable/binutils-gdb.git] / gdbserver / linux-low.cc
index 7244211c25cbeadbfc753aac6f9d6f4ebbd8986b..8bf24031205ae8232820dce6384b295de3cddc51 100644 (file)
@@ -897,11 +897,7 @@ linux_process_target::save_stop_reason (lwp_info *lwp)
 lwp_info *
 linux_process_target::add_lwp (ptid_t ptid)
 {
-  struct lwp_info *lwp;
-
-  lwp = new lwp_info {};
-
-  lwp->waitstatus.kind = TARGET_WAITKIND_IGNORE;
+  lwp_info *lwp = new lwp_info;
 
   lwp->thread = add_thread (ptid, lwp);
 
This page took 0.024261 seconds and 4 git commands to generate.