aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/linux-low.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/linux-low.cc')
-rw-r--r--gdbserver/linux-low.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdbserver/linux-low.cc b/gdbserver/linux-low.cc
index d27a216..6ea517e 100644
--- a/gdbserver/linux-low.cc
+++ b/gdbserver/linux-low.cc
@@ -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);