* breakpoint.c (remove_breakpoint): Remove dead code.
authorJoel Brobecker <brobecker@gnat.com>
Mon, 1 Jan 2007 14:10:40 +0000 (14:10 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 1 Jan 2007 14:10:40 +0000 (14:10 +0000)
gdb/ChangeLog
gdb/breakpoint.c

index 29bead3d8f974d19c9aec41cec24c3dc0b98ab22..f231eb538aacd525fbf4778357696c3e2ff29682 100644 (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.
        (c_value_of_root): Check scope within nested statements.
index ed91c1e0b6faba8d362e177f71cc727221750d80..be858e21f357350bdef4883c3ad7fe069d31f51a 100644 (file)
@@ -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;
 }