aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@linaro.org>2020-12-10 12:16:21 -0300
committerLuis Machado <luis.machado@linaro.org>2020-12-10 12:25:02 -0300
commitae1f4d2d99ac57fd9b883982f440b6c859d089b9 (patch)
treecf5c85eb4367617301f57e82097898ef66f113f6 /gdb/breakpoint.c
parent6afcd2d4161165fd976c55a9792dbcccd2d5d106 (diff)
downloadgdb-ae1f4d2d99ac57fd9b883982f440b6c859d089b9.zip
gdb-ae1f4d2d99ac57fd9b883982f440b6c859d089b9.tar.gz
gdb-ae1f4d2d99ac57fd9b883982f440b6c859d089b9.tar.bz2
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 <luis.machado@linaro.org> * breakpoint.c (should_be_inserted): Don't output newline.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 881686f..baf80b6 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;
}