diff options
author | Luis Machado <luis.machado@linaro.org> | 2020-12-10 12:16:21 -0300 |
---|---|---|
committer | Luis Machado <luis.machado@linaro.org> | 2020-12-10 12:25:02 -0300 |
commit | ae1f4d2d99ac57fd9b883982f440b6c859d089b9 (patch) | |
tree | cf5c85eb4367617301f57e82097898ef66f113f6 | |
parent | 6afcd2d4161165fd976c55a9792dbcccd2d5d106 (diff) | |
download | gdb-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.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/breakpoint.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ace56aa..82bf5c1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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. (aarch64_linux_sigframe_init): Call aarch64_linux_restore_vreg. * aarch64-tdep.h (V_REGISTER_SIZE): Move to ... 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; } |