diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2014-10-13 13:39:48 +0200 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2014-10-13 13:39:48 +0200 |
commit | c780cc2f5062451a568458b6ef9b8aef7cc1dd8a (patch) | |
tree | 2f9128c9a5d3aa9239cdd56a580a8fd63f0d4686 /gdb/break-catch-sig.c | |
parent | e06bcd8001496e5fed5c1774af7c0dfe200f603e (diff) | |
download | gdb-c780cc2f5062451a568458b6ef9b8aef7cc1dd8a.zip gdb-c780cc2f5062451a568458b6ef9b8aef7cc1dd8a.tar.gz gdb-c780cc2f5062451a568458b6ef9b8aef7cc1dd8a.tar.bz2 |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/break-catch-sig.c b/gdb/break-catch-sig.c index c41bf33..579fb78 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 |