mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 01:50:48 +00:00
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.
This commit is contained in:
@@ -16130,7 +16130,7 @@ save_breakpoints (char *filename, int from_tty,
|
||||
}
|
||||
|
||||
if (tp->enable_state == bp_disabled)
|
||||
fprintf_unfiltered (fp, "disable\n");
|
||||
fprintf_unfiltered (fp, "disable $bpnum\n");
|
||||
|
||||
/* If this is a multi-location breakpoint, check if the locations
|
||||
should be individually disabled. Watchpoint locations are
|
||||
|
||||
Reference in New Issue
Block a user