diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-06 18:01:06 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-06 18:01:06 +0000 |
commit | ebad9e902ca97adf1db3435bc2baad8743f68ba1 (patch) | |
tree | be9d31dd7dc0b1e62789642aea9c49329d2bcdf8 /gdb/breakpoint.c | |
parent | b4fd641ffbf47d50b4ed4c0c3b2ae7788c2c6ec4 (diff) | |
download | gdb-ebad9e902ca97adf1db3435bc2baad8743f68ba1.zip gdb-ebad9e902ca97adf1db3435bc2baad8743f68ba1.tar.gz gdb-ebad9e902ca97adf1db3435bc2baad8743f68ba1.tar.bz2 |
* breakpoint.c (delete_breakpoint): Don't insert a disabled breakpoint.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index b425ac1..ee5cf54 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -2538,7 +2538,9 @@ delete_breakpoint (bpt) if (bpt->inserted) { ALL_BREAKPOINTS (b) - if (b->address == bpt->address && !b->duplicate) + if (b->address == bpt->address + && !b->duplicate + && b->enable != disabled) { int val; val = target_insert_breakpoint (b->address, b->shadow_contents); |