Remove spurious newline on debug printf
authorLuis Machado <luis.machado@linaro.org>
Thu, 10 Dec 2020 15:16:21 +0000 (12:16 -0300)
committerLuis Machado <luis.machado@linaro.org>
Thu, 10 Dec 2020 15:25:02 +0000 (12:25 -0300)
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  <luis.machado@linaro.org>

* breakpoint.c (should_be_inserted): Don't output newline.

gdb/ChangeLog
gdb/breakpoint.c

index ace56aa251dfc10b02f15b49c1d32ac855d45fc0..82bf5c145333df759fc8e6ca0643a5ada5f6b5e0 100644 (file)
@@ -1,3 +1,7 @@
+2020-12-10  Luis Machado  <luis.machado@linaro.org>
+
+       * breakpoint.c (should_be_inserted): Don't output newline.
+
 2020-12-10  Luis Machado  <luis.machado@linaro.org>
 
        * aarch64-linux-tdep.c (aarch64_linux_restore_vreg) New function.
index 881686ff7a0409bce17add20abe2b1a88ba4b5ef..baf80b6b1941bf2f5af061ded0b1ecc1fb43a4f5 100644 (file)
@@ -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;
     }