From ae1f4d2d99ac57fd9b883982f440b6c859d089b9 Mon Sep 17 00:00:00 2001 From: Luis Machado Date: Thu, 10 Dec 2020 12:16:21 -0300 Subject: [PATCH] Remove spurious newline on debug printf I noticed a spurious newline on infrun debugging output. The following patch fixes that. I'll push as obvious. gdb/ChangeLog: 2020-12-10 Luis Machado * breakpoint.c (should_be_inserted): Don't output newline. --- gdb/ChangeLog | 4 ++++ gdb/breakpoint.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ace56aa251d..82bf5c14533 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-12-10 Luis Machado + + * breakpoint.c (should_be_inserted): Don't output newline. + 2020-12-10 Luis Machado * aarch64-linux-tdep.c (aarch64_linux_restore_vreg) New function. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 881686ff7a0..baf80b6b194 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -2173,7 +2173,7 @@ should_be_inserted (struct bp_location *bl) && stepping_past_nonsteppable_watchpoint ()) { infrun_debug_printf ("stepping past non-steppable watchpoint. " - "skipping watchpoint at %s:%d\n", + "skipping watchpoint at %s:%d", paddress (bl->gdbarch, bl->address), bl->length); return 0; } -- 2.30.2