From: Andrew Burgess Date: Mon, 16 Aug 2021 16:15:31 +0000 (+0100) Subject: gdb: remove some stray newlines in debug output X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89662f69011569f0e1d61c812fa4706fc8f20c8d;p=binutils-gdb.git 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. --- diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 211e447dc6f..e9433b2206b 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -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); }