aboutsummaryrefslogtreecommitdiff
path: root/gdb/break-catch-sig.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2014-10-13 13:39:48 +0200
committerJan Kratochvil <jan.kratochvil@redhat.com>2014-10-13 13:39:48 +0200
commitc780cc2f5062451a568458b6ef9b8aef7cc1dd8a (patch)
tree2f9128c9a5d3aa9239cdd56a580a8fd63f0d4686 /gdb/break-catch-sig.c
parente06bcd8001496e5fed5c1774af7c0dfe200f603e (diff)
Fix "save breakpoints" for "catch" command
gdb/ChangeLog 2014-10-13 Miroslav Franc <mfranc@redhat.com> Jan Kratochvil <jan.kratochvil@redhat.com> Fix "save breakpoints" for "catch" command. * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing newline. gdb/testsuite/ChangeLog 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com> Yao Qi <yao@codesourcery.com> Fix "save breakpoints" for "catch" command. * gdb.base/catch-signal.exp: Add gdb_breakpoint "main". Remove -nonewline. Match also the added "main" line.
Diffstat (limited to 'gdb/break-catch-sig.c')
-rw-r--r--gdb/break-catch-sig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/break-catch-sig.c b/gdb/break-catch-sig.c
index c41bf33149..579fb78989 100644
--- a/gdb/break-catch-sig.c
+++ b/gdb/break-catch-sig.c
@@ -346,6 +346,7 @@ signal_catchpoint_print_recreate (struct breakpoint *b, struct ui_file *fp)
}
else if (c->catch_all)
fprintf_unfiltered (fp, " all");
+ fputc_unfiltered ('\n', fp);
}
/* Implement the "explains_signal" breakpoint_ops method for signal