* breakpoint.c (remove_breakpoint): Remove dead code.
This commit is contained in:
parent
7f89374103
commit
ce186b302c
2 changed files with 5 additions and 12 deletions
|
@ -1,4 +1,8 @@
|
|||
2007-01-02 Nick Roberts <nickrob@snap.net.nz>
|
||||
2006-01-01 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* breakpoint.c (remove_breakpoint): Remove dead code.
|
||||
|
||||
2007-01-01 Nick Roberts <nickrob@snap.net.nz>
|
||||
|
||||
* varobj.c: Include block.h.
|
||||
(c_value_of_root): Check scope within nested statements.
|
||||
|
|
|
@ -1637,17 +1637,6 @@ remove_breakpoint (struct bp_location *b, insertion_state_t is)
|
|||
return val;
|
||||
b->inserted = (is == mark_inserted);
|
||||
}
|
||||
else if (ep_is_exception_catchpoint (b->owner)
|
||||
&& b->inserted /* sometimes previous insert doesn't happen */
|
||||
&& breakpoint_enabled (b->owner)
|
||||
&& !b->duplicate)
|
||||
{
|
||||
val = target_remove_breakpoint (&b->target_info);
|
||||
if (val)
|
||||
return val;
|
||||
|
||||
b->inserted = (is == mark_inserted);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue