+2010-03-17 Tom Tromey <tromey@redhat.com>
+
+ * linux-nat.c (linux_nat_detach): Check debug_linux_nat.
+
2010-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* spu-tdep.c (spu_catch_start): Replace set_breakpoint call with the
pass it along with PTRACE_DETACH. */
args = alloca (8);
sprintf (args, "%d", (int) WSTOPSIG (status));
- fprintf_unfiltered (gdb_stdlog,
- "LND: Sending signal %s to %s\n",
- args,
- target_pid_to_str (main_lwp->ptid));
+ if (debug_linux_nat)
+ fprintf_unfiltered (gdb_stdlog,
+ "LND: Sending signal %s to %s\n",
+ args,
+ target_pid_to_str (main_lwp->ptid));
}
delete_lwp (main_lwp->ptid);