aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2001-06-09 01:55:43 +0000
committerMichael Snyder <msnyder@vmware.com>2001-06-09 01:55:43 +0000
commit2e663524504ff38060f34b6f9d7781632f88dc1a (patch)
tree37d1f0b4c1e62321b644c22c96077ee365188b50
parentc49cf2cdb91ebe900152be62fb7f4574877781c9 (diff)
downloadgdb-2e663524504ff38060f34b6f9d7781632f88dc1a.zip
gdb-2e663524504ff38060f34b6f9d7781632f88dc1a.tar.gz
gdb-2e663524504ff38060f34b6f9d7781632f88dc1a.tar.bz2
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.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/breakpoint.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 52002e8..c2b2d2c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index cb51a55..01d47e2 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;