2001-06-08 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Sat, 9 Jun 2001 01:55:43 +0000 (01:55 +0000)
committerMichael Snyder <msnyder@vmware.com>
Sat, 9 Jun 2001 01:55:43 +0000 (01:55 +0000)
* 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
gdb/breakpoint.c

index 52002e860142f315a82c4b816a6bc856c417aa45..c2b2d2caec1fdc4a856aa9a4d1a7d6ccb31ff00b 100644 (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.
index cb51a5559f536f1281950ec92ade1dfeab7aed9b..01d47e28788c49b108c1131233d41577b8faf341 100644 (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;