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:
parent
c49cf2cdb9
commit
2e66352450
2 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue