* breakpoint.c (remove_breakpoint): Remove dead code.

This commit is contained in:
Joel Brobecker 2007-01-01 14:10:40 +00:00
parent 7f89374103
commit ce186b302c
2 changed files with 5 additions and 12 deletions

View File

@ -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. * varobj.c: Include block.h.
(c_value_of_root): Check scope within nested statements. (c_value_of_root): Check scope within nested statements.

View File

@ -1637,17 +1637,6 @@ remove_breakpoint (struct bp_location *b, insertion_state_t is)
return val; return val;
b->inserted = (is == mark_inserted); 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; return 0;
} }