diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2022-02-18 14:16:40 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-02-18 14:16:53 -0500 |
commit | 9221923cf677a1fbb61e42fc41e74759abdd895d (patch) | |
tree | fe54f1bc135e07951b81d02bd26d36554b8380a7 /gdb | |
parent | c939e96dd68e6f5908860c31ef6f6273a62e5944 (diff) | |
download | gdb-9221923cf677a1fbb61e42fc41e74759abdd895d.zip gdb-9221923cf677a1fbb61e42fc41e74759abdd895d.tar.gz gdb-9221923cf677a1fbb61e42fc41e74759abdd895d.tar.bz2 |
gdb: remove newlines from some linux_nat_debug_printf calls
Change-Id: I80328fab7096221356864b5a4fb30858b48d2c10
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/linux-nat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 936250c..5b747f7 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -3887,7 +3887,7 @@ open_proc_mem_file (ptid_t ptid) std::forward_as_tuple (ptid.pid ()), std::forward_as_tuple (ptid, fd)); - linux_nat_debug_printf ("opened fd %d for lwp %d.%ld\n", + linux_nat_debug_printf ("opened fd %d for lwp %d.%ld", fd, ptid.pid (), ptid.lwp ()); } @@ -3927,7 +3927,7 @@ linux_proc_xfer_memory_partial (gdb_byte *readbuf, const gdb_byte *writebuf, if (ret == -1) { - linux_nat_debug_printf ("accessing fd %d for pid %d failed: %s (%d)\n", + linux_nat_debug_printf ("accessing fd %d for pid %d failed: %s (%d)", fd, inferior_ptid.pid (), safe_strerror (errno), errno); return TARGET_XFER_EOF; @@ -3936,7 +3936,7 @@ linux_proc_xfer_memory_partial (gdb_byte *readbuf, const gdb_byte *writebuf, { /* EOF means the address space is gone, the whole process exited or execed. */ - linux_nat_debug_printf ("accessing fd %d for pid %d got EOF\n", + linux_nat_debug_printf ("accessing fd %d for pid %d got EOF", fd, inferior_ptid.pid ()); return TARGET_XFER_EOF; } |