gdb: remove some stray newlines in debug output

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.
This commit is contained in:
Andrew Burgess
2021-08-16 17:15:31 +01:00
parent 0b98060864
commit 89662f6901

View File

@ -3799,7 +3799,7 @@ static struct
/* 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;
@ -3859,7 +3859,7 @@ linux_proc_xfer_memory_partial_pid (ptid_t ptid,
}
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);
}