diff options
author | Joel Brobecker <brobecker@gnat.com> | 2007-01-01 14:10:40 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2007-01-01 14:10:40 +0000 |
commit | ce186b302c80cb5f0a3619d6346f55e79c2f9c85 (patch) | |
tree | f56045f2a43e35c37a822acf3d3469f5fa76219a | |
parent | 7f893741030bf6a5a04c6ee079d8af8eb8a47206 (diff) | |
download | gdb-ce186b302c80cb5f0a3619d6346f55e79c2f9c85.zip gdb-ce186b302c80cb5f0a3619d6346f55e79c2f9c85.tar.gz gdb-ce186b302c80cb5f0a3619d6346f55e79c2f9c85.tar.bz2 |
* breakpoint.c (remove_breakpoint): Remove dead code.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/breakpoint.c | 11 |
2 files changed, 5 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 29bead3..f231eb5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index ed91c1e..be858e2 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; } |