aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
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 /gdb/breakpoint.c
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.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
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;