bp 6625 src/simh/scp.c BRKTAB *bp; bp 6633 src/simh/scp.c if ((!(bp = sim_brk_fnd (val))) || (!(bp->typ & BRK_TYP_DYN_STEPOVER))) bp 9186 src/simh/scp.c BRKTAB *bp; bp 9189 src/simh/scp.c bp = sim_brk_tab[i]; bp 9191 src/simh/scp.c while (bp) bp 9193 src/simh/scp.c BRKTAB *bpt = bp->next; bp 9195 src/simh/scp.c FREE (bp->act); bp 9196 src/simh/scp.c FREE (bp); bp 9197 src/simh/scp.c bp = bpt; bp 9219 src/simh/scp.c BRKTAB *bp; bp 9229 src/simh/scp.c bp = sim_brk_tab[p]; /* table addr */ bp 9230 src/simh/scp.c if (loc == bp->addr) { /* match? */ bp 9232 src/simh/scp.c return bp; bp 9234 src/simh/scp.c else if (loc < bp->addr) /* go down? p is upper */ bp 9238 src/simh/scp.c if (loc < bp->addr) /* insrt before or */ bp 9246 src/simh/scp.c BRKTAB *bp = sim_brk_fnd (loc); bp 9248 src/simh/scp.c while (bp) { bp 9249 src/simh/scp.c if (any_typ ? ((bp->typ & btyp) && (bp->time_fired[spc] != sim_gtime())) : bp 9250 src/simh/scp.c (bp->typ == btyp)) bp 9251 src/simh/scp.c return bp; bp 9252 src/simh/scp.c bp = bp->next; bp 9254 src/simh/scp.c return bp; bp 9262 src/simh/scp.c BRKTAB *bp, **newp; bp 9284 src/simh/scp.c bp = (BRKTAB *)calloc (1, sizeof (*bp)); bp 9285 src/simh/scp.c if (!bp) bp 9297 src/simh/scp.c bp->next = sim_brk_tab[sim_brk_ins]; bp 9298 src/simh/scp.c sim_brk_tab[sim_brk_ins] = bp; bp 9299 src/simh/scp.c if (bp->next == NULL) bp 9301 src/simh/scp.c bp->addr = loc; bp 9302 src/simh/scp.c bp->typ = btyp; bp 9303 src/simh/scp.c bp->cnt = 0; bp 9304 src/simh/scp.c bp->act = NULL; bp 9306 src/simh/scp.c bp->time_fired[i] = -1.0; bp 9307 src/simh/scp.c return bp; bp 9314 src/simh/scp.c BRKTAB *bp; bp 9325 src/simh/scp.c bp = sim_brk_fnd (loc); /* loc present? */ bp 9326 src/simh/scp.c if (!bp) /* no, allocate */ bp 9327 src/simh/scp.c bp = sim_brk_new (loc, sw); bp 9329 src/simh/scp.c while (bp && (bp->typ != (uint32)sw)) bp 9330 src/simh/scp.c bp = bp->next; bp 9331 src/simh/scp.c if (!bp) bp 9332 src/simh/scp.c bp = sim_brk_new (loc, sw); bp 9334 src/simh/scp.c if (!bp) /* still no? mem err */ bp 9336 src/simh/scp.c bp->cnt = ncnt; /* set count */ bp 9338 src/simh/scp.c (bp->act != NULL) && (act != NULL)) { /* replace old action? */ bp 9339 src/simh/scp.c FREE (bp->act); /* deallocate */ bp 9340 src/simh/scp.c bp->act = NULL; /* now no action */ bp 9347 src/simh/scp.c bp->act = newp; /* set pointer */ bp 9358 src/simh/scp.c BRKTAB *bp = sim_brk_fnd (loc); bp 9361 src/simh/scp.c if (!bp) /* not there? ok */ bp 9367 src/simh/scp.c while (bp) { bp 9368 src/simh/scp.c if (bp->typ == (bp->typ & sw)) { bp 9369 src/simh/scp.c FREE (bp->act); /* deallocate action */ bp 9370 src/simh/scp.c if (bp == sim_brk_tab[sim_brk_ins]) bp 9371 src/simh/scp.c bpl = sim_brk_tab[sim_brk_ins] = bp->next; bp 9375 src/simh/scp.c bpl->next = bp->next; bp 9377 src/simh/scp.c FREE (bp); bp 9378 src/simh/scp.c bp = bpl; bp 9381 src/simh/scp.c bpl = bp; bp 9382 src/simh/scp.c bp = bp->next; bp 9393 src/simh/scp.c bp = sim_brk_tab[i]; bp 9394 src/simh/scp.c while (bp) { bp 9395 src/simh/scp.c sim_brk_summ |= (bp->typ & ~BRK_TYP_TEMP); bp 9396 src/simh/scp.c bp = bp->next; bp 9424 src/simh/scp.c BRKTAB *bp = sim_brk_fnd_ex (loc, sw & (~SWMASK ('C')), FALSE, 0); bp 9430 src/simh/scp.c if (!bp || (!(bp->typ & sw))) { bp 9449 src/simh/scp.c if ((bp->typ >> i) & 1) { bp 9473 src/simh/scp.c if (bp->cnt > 0) { bp 9475 src/simh/scp.c (void)fprintf (st, "[%d]", bp->cnt); } } bp 9476 src/simh/scp.c if (bp->act != NULL) { bp 9478 src/simh/scp.c (void)fprintf (st, "; %s", bp->act); } } bp 9549 src/simh/scp.c BRKTAB *bp; bp 9555 src/simh/scp.c if ((bp = sim_brk_fnd_ex (loc, btyp, TRUE, spc))) { /* in table, and type match? */ bp 9558 src/simh/scp.c if (bp->time_fired[spc] == s_gtime) /* already taken? */ bp 9560 src/simh/scp.c bp->time_fired[spc] = s_gtime; /* remember match time */ bp 9561 src/simh/scp.c if (--bp->cnt > 0) /* count > 0? */ bp 9563 src/simh/scp.c bp->cnt = 0; /* reset count */ bp 9564 src/simh/scp.c sim_brk_setact (bp->act); /* set up actions */ bp 9565 src/simh/scp.c sim_brk_match_type = btyp & bp->typ; /* set return value */ bp 9566 src/simh/scp.c if (bp->typ & BRK_TYP_TEMP) bp 9567 src/simh/scp.c sim_brk_clr (loc, bp->typ); /* delete one-shot breakpoint */ bp 9639 src/simh/scp.c BRKTAB **bpt, *bp; bp 9644 src/simh/scp.c for (bp = *bpt; bp; bp = bp->next) { bp 9646 src/simh/scp.c bp->time_fired[spc] = -1.0; bp 9655 src/simh/scp.c BRKTAB **bpt, *bp; bp 9659 src/simh/scp.c for (bp = *bpt; bp; bp = bp->next) { bp 9660 src/simh/scp.c if (bp->typ & btyp) bp 9661 src/simh/scp.c bp->time_fired[spc] = -1.0;