From: Joel Brobecker Date: Mon, 1 Jan 2007 14:10:40 +0000 (+0000) Subject: * breakpoint.c (remove_breakpoint): Remove dead code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce186b302c80cb5f0a3619d6346f55e79c2f9c85;p=binutils-gdb.git * breakpoint.c (remove_breakpoint): Remove dead code. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 29bead3d8f9..f231eb538aa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,4 +1,8 @@ -2007-01-02 Nick Roberts +2006-01-01 Joel Brobecker + + * breakpoint.c (remove_breakpoint): Remove dead code. + +2007-01-01 Nick Roberts * varobj.c: Include block.h. (c_value_of_root): Check scope within nested statements. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index ed91c1e0b6f..be858e21f35 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -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; }