From: Michael Snyder Date: Sat, 9 Jun 2001 01:55:43 +0000 (+0000) Subject: 2001-06-08 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e663524504ff38060f34b6f9d7781632f88dc1a;p=binutils-gdb.git 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. --- 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;