Fix "save breakpoints" for "disable $bpnum" command.
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 12 Oct 2014 19:52:39 +0000 (21:52 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 12 Oct 2014 19:52:39 +0000 (21:52 +0200)
commit99894e1175c04ef470761406c0d20f61f5a7e9ba
tree34691cd93e5116fde6cff900c74cf25fa1fe377a
parent6e1ac5a3735abf8284c09563fdcba18f88226abb
Fix "save breakpoints" for "disable $bpnum" command.

gdb/ChangeLog
2014-10-12  Miroslav Franc  <mfranc@redhat.com>

Fix "save breakpoints" for "disable $bpnum" command.
* breakpoint.c (save_breakpoints): Add $bpnum for disable.

gdb/testsuite/ChangeLog
2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>

Fix "save breakpoints" for "disable $bpnum" command.
* gdb.base/save-bp.c (main): Add label.
* gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
gdb/ChangeLog
gdb/breakpoint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/save-bp.c
gdb/testsuite/gdb.base/save-bp.exp