diff options
author | Doug Evans <dje@google.com> | 1998-03-15 02:43:00 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-03-15 02:43:00 +0000 |
commit | 84c6d152d1229e1ed22622c1981192495ccb419e (patch) | |
tree | 99693fe37e400d5707c917914028e28a5ae7927e /sim/common/sim-break.c | |
parent | 86a60941332cd44e8fb2eb6fcba0d91a9deb44d1 (diff) | |
download | gdb-84c6d152d1229e1ed22622c1981192495ccb419e.zip gdb-84c6d152d1229e1ed22622c1981192495ccb419e.tar.gz gdb-84c6d152d1229e1ed22622c1981192495ccb419e.tar.bz2 |
* dv-sockser.c, dv-sockser.h: New files.
* Make-common.in (dv-sockser.o): Add rule for.
* aclocal.m4: Check for fcntl.h.
* config.h: Add HAVE_FCNTL_H.
* sim-break.c (remove_breakpoint): Fix thinko.
* sim-hload.c (sim_load): Provide default value of SIM_HANDLES_LMA.
Use SIM_HANDLES_LMA for lma_p arg to sim_load_file.
Diffstat (limited to 'sim/common/sim-break.c')
-rw-r--r-- | sim/common/sim-break.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/sim-break.c b/sim/common/sim-break.c index 07d1f95..3b89560 100644 --- a/sim/common/sim-break.c +++ b/sim/common/sim-break.c @@ -82,7 +82,7 @@ remove_breakpoint (sd, bp) sim_core_write_buffer (sd, NULL, exec_map, bp->loc_contents, bp->addr, SIM_BREAKPOINT_SIZE); - bp->flags &= SIM_BREAK_INSERTED; + bp->flags &= ~SIM_BREAK_INSERTED; } /* Come here when a breakpoint insn is hit. If it's really a breakpoint, we @@ -161,7 +161,7 @@ sim_set_breakpoint (sd, addr) if (bp->addr == addr) return SIM_RC_DUPLICATE_BREAKPOINT; /* Already there */ else - break; + break; /* FIXME: why not scan all bp's? */ bp = ZALLOC (struct sim_breakpoint); |