/* Thread management interface, for the remote server for GDB.
- Copyright (C) 2002-2019 Free Software Foundation, Inc.
+ Copyright (C) 2002-2020 Free Software Foundation, Inc.
Contributed by MontaVista Software.
#include "linux-low.h"
-extern int debug_threads;
-
+#include "debug.h"
#include "gdb_proc_service.h"
#include "nat/gdb_thread_db.h"
-#include "common/gdb_vecs.h"
+#include "gdbsupport/gdb_vecs.h"
#include "nat/linux-procfs.h"
-#include "common/scoped_restore.h"
+#include "gdbsupport/scoped_restore.h"
#ifndef USE_LIBTHREAD_DB_DIRECTLY
#include <dlfcn.h>
{
std::string reason = linux_ptrace_attach_fail_reason_string (ptid, err);
- warning ("Could not attach to thread %ld (LWP %d): %s\n",
+ warning ("Could not attach to thread %ld (LWP %d): %s",
(unsigned long) ti_p->ti_tid, ti_p->ti_lid, reason.c_str ());
return 0;
= make_scoped_restore (¤t_thread, parent_thr);
if (!find_one_thread (child_ptid))
- warning ("Cannot find thread after clone.\n");
+ warning ("Cannot find thread after clone.");
}