2001-06-08 Michael Snyder <msnyder@redhat.com>

* 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.
This commit is contained in:
Michael Snyder 2001-06-09 01:55:43 +00:00
parent c49cf2cdb9
commit 2e66352450
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2001-06-08 Michael Snyder <msnyder@redhat.com>
* 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 <per@bothner.com>
* dwarf2read.c (set_cu_language): Handle DW_LANG_Java.

View File

@ -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;