From 84c6d152d1229e1ed22622c1981192495ccb419e Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sun, 15 Mar 1998 02:43:00 +0000 Subject: * 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. --- sim/common/sim-break.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sim/common/sim-break.c') 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); -- cgit v1.1