Fix "save breakpoints" for "catch" command
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 13 Oct 2014 11:39:48 +0000 (13:39 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 13 Oct 2014 11:39:48 +0000 (13:39 +0200)
commitc780cc2f5062451a568458b6ef9b8aef7cc1dd8a
tree2f9128c9a5d3aa9239cdd56a580a8fd63f0d4686
parente06bcd8001496e5fed5c1774af7c0dfe200f603e
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.
gdb/ChangeLog
gdb/break-catch-sig.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/catch-signal.exp