I spotted a couple of stray newlines that were left at the end of
debug message during conversion to the new debug output scheme. These
messages are part of the 'set debug lin-lwp 1' output.
/* Close FD and clear it to -1. */
void close ()
{
- linux_nat_debug_printf ("closing fd %d for /proc/%d/task/%ld/mem\n",
+ linux_nat_debug_printf ("closing fd %d for /proc/%d/task/%ld/mem",
fd, ptid.pid (), ptid.lwp ());
::close (fd);
fd = -1;
}
last_proc_mem_file.ptid = ptid;
- linux_nat_debug_printf ("opened fd %d for %s\n",
+ linux_nat_debug_printf ("opened fd %d for %s",
last_proc_mem_file.fd, filename);
}