diff options
author | Michael Snyder <msnyder@vmware.com> | 2001-06-09 01:55:43 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2001-06-09 01:55:43 +0000 |
commit | 2e663524504ff38060f34b6f9d7781632f88dc1a (patch) | |
tree | 37d1f0b4c1e62321b644c22c96077ee365188b50 /gdb/breakpoint.c | |
parent | c49cf2cdb91ebe900152be62fb7f4574877781c9 (diff) | |
download | gdb-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.c | 2 |
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; |