From 2e663524504ff38060f34b6f9d7781632f88dc1a Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Sat, 9 Jun 2001 01:55:43 +0000 Subject: [PATCH] 2001-06-08 Michael Snyder * breakpoint.c (delete_breakpoint): Pass mark_inserted to remove_breakpoint, so that the subsequent test for bpt->inserted will succeed, and duplicates will be fixed up. --- gdb/ChangeLog | 6 ++++++ gdb/breakpoint.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 52002e86014..c2b2d2caec1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-06-08 Michael Snyder + + * breakpoint.c (delete_breakpoint): Pass mark_inserted to + remove_breakpoint, so that the subsequent test for + bpt->inserted will succeed, and duplicates will be fixed up. + 2001-06-08 Per Bothner * dwarf2read.c (set_cu_language): Handle DW_LANG_Java. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index cb51a5559f5..01d47e28788 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -6763,7 +6763,7 @@ delete_breakpoint (struct breakpoint *bpt) breakpoint_delete_event (bpt->number); if (bpt->inserted) - remove_breakpoint (bpt, mark_uninserted); + remove_breakpoint (bpt, mark_inserted); if (breakpoint_chain == bpt) breakpoint_chain = bpt->next; -- 2.30.2