From: Luis Machado Date: Thu, 10 Dec 2020 15:16:21 +0000 (-0300) Subject: Remove spurious newline on debug printf X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae1f4d2d99ac57fd9b883982f440b6c859d089b9;p=binutils-gdb.git 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. --- 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; }