bp 6495 src/simh/scp.c BRKTAB *bp; bp 6503 src/simh/scp.c if ((!(bp = sim_brk_fnd (val))) || (!(bp->typ & BRK_TYP_DYN_STEPOVER))) bp 9056 src/simh/scp.c BRKTAB *bp; bp 9059 src/simh/scp.c bp = sim_brk_tab[i]; bp 9061 src/simh/scp.c while (bp) bp 9063 src/simh/scp.c BRKTAB *bpt = bp->next; bp 9065 src/simh/scp.c FREE (bp->act); bp 9066 src/simh/scp.c FREE (bp); bp 9067 src/simh/scp.c bp = bpt; bp 9089 src/simh/scp.c BRKTAB *bp; bp 9099 src/simh/scp.c bp = sim_brk_tab[p]; /* table addr */ bp 9100 src/simh/scp.c if (loc == bp->addr) { /* match? */ bp 9102 src/simh/scp.c return bp; bp 9104 src/simh/scp.c else if (loc < bp->addr) /* go down? p is upper */ bp 9108 src/simh/scp.c if (loc < bp->addr) /* insrt before or */ bp 9116 src/simh/scp.c BRKTAB *bp = sim_brk_fnd (loc); bp 9118 src/simh/scp.c while (bp) { bp 9119 src/simh/scp.c if (any_typ ? ((bp->typ & btyp) && (bp->time_fired[spc] != sim_gtime())) : bp 9120 src/simh/scp.c (bp->typ == btyp)) bp 9121 src/simh/scp.c return bp; bp 9122 src/simh/scp.c bp = bp->next; bp 9124 src/simh/scp.c return bp; bp 9132 src/simh/scp.c BRKTAB *bp, **newp; bp 9154 src/simh/scp.c bp = (BRKTAB *)calloc (1, sizeof (*bp)); bp 9155 src/simh/scp.c if (!bp) bp 9167 src/simh/scp.c bp->next = sim_brk_tab[sim_brk_ins]; bp 9168 src/simh/scp.c sim_brk_tab[sim_brk_ins] = bp; bp 9169 src/simh/scp.c if (bp->next == NULL) bp 9171 src/simh/scp.c bp->addr = loc; bp 9172 src/simh/scp.c bp->typ = btyp; bp 9173 src/simh/scp.c bp->cnt = 0; bp 9174 src/simh/scp.c bp->act = NULL; bp 9176 src/simh/scp.c bp->time_fired[i] = -1.0; bp 9177 src/simh/scp.c return bp; bp 9184 src/simh/scp.c BRKTAB *bp; bp 9195 src/simh/scp.c bp = sim_brk_fnd (loc); /* loc present? */ bp 9196 src/simh/scp.c if (!bp) /* no, allocate */ bp 9197 src/simh/scp.c bp = sim_brk_new (loc, sw); bp 9199 src/simh/scp.c while (bp && (bp->typ != (uint32)sw)) bp 9200 src/simh/scp.c bp = bp->next; bp 9201 src/simh/scp.c if (!bp) bp 9202 src/simh/scp.c bp = sim_brk_new (loc, sw); bp 9204 src/simh/scp.c if (!bp) /* still no? mem err */ bp 9206 src/simh/scp.c bp->cnt = ncnt; /* set count */ bp 9208 src/simh/scp.c (bp->act != NULL) && (act != NULL)) { /* replace old action? */ bp 9209 src/simh/scp.c FREE (bp->act); /* deallocate */ bp 9210 src/simh/scp.c bp->act = NULL; /* now no action */ bp 9217 src/simh/scp.c bp->act = newp; /* set pointer */ bp 9228 src/simh/scp.c BRKTAB *bp = sim_brk_fnd (loc); bp 9231 src/simh/scp.c if (!bp) /* not there? ok */ bp 9237 src/simh/scp.c while (bp) { bp 9238 src/simh/scp.c if (bp->typ == (bp->typ & sw)) { bp 9239 src/simh/scp.c FREE (bp->act); /* deallocate action */ bp 9240 src/simh/scp.c if (bp == sim_brk_tab[sim_brk_ins]) bp 9241 src/simh/scp.c bpl = sim_brk_tab[sim_brk_ins] = bp->next; bp 9245 src/simh/scp.c bpl->next = bp->next; bp 9247 src/simh/scp.c FREE (bp); bp 9248 src/simh/scp.c bp = bpl; bp 9251 src/simh/scp.c bpl = bp; bp 9252 src/simh/scp.c bp = bp->next; bp 9263 src/simh/scp.c bp = sim_brk_tab[i]; bp 9264 src/simh/scp.c while (bp) { bp 9265 src/simh/scp.c sim_brk_summ |= (bp->typ & ~BRK_TYP_TEMP); bp 9266 src/simh/scp.c bp = bp->next; bp 9294 src/simh/scp.c BRKTAB *bp = sim_brk_fnd_ex (loc, sw & (~SWMASK ('C')), FALSE, 0); bp 9300 src/simh/scp.c if (!bp || (!(bp->typ & sw))) { bp 9319 src/simh/scp.c if ((bp->typ >> i) & 1) { bp 9343 src/simh/scp.c if (bp->cnt > 0) { bp 9345 src/simh/scp.c (void)fprintf (st, "[%d]", bp->cnt); } } bp 9346 src/simh/scp.c if (bp->act != NULL) { bp 9348 src/simh/scp.c (void)fprintf (st, "; %s", bp->act); } } bp 9419 src/simh/scp.c BRKTAB *bp; bp 9425 src/simh/scp.c if ((bp = sim_brk_fnd_ex (loc, btyp, TRUE, spc))) { /* in table, and type match? */ bp 9428 src/simh/scp.c if (bp->time_fired[spc] == s_gtime) /* already taken? */ bp 9430 src/simh/scp.c bp->time_fired[spc] = s_gtime; /* remember match time */ bp 9431 src/simh/scp.c if (--bp->cnt > 0) /* count > 0? */ bp 9433 src/simh/scp.c bp->cnt = 0; /* reset count */ bp 9434 src/simh/scp.c sim_brk_setact (bp->act); /* set up actions */ bp 9435 src/simh/scp.c sim_brk_match_type = btyp & bp->typ; /* set return value */ bp 9436 src/simh/scp.c if (bp->typ & BRK_TYP_TEMP) bp 9437 src/simh/scp.c sim_brk_clr (loc, bp->typ); /* delete one-shot breakpoint */ bp 9509 src/simh/scp.c BRKTAB **bpt, *bp; bp 9514 src/simh/scp.c for (bp = *bpt; bp; bp = bp->next) { bp 9516 src/simh/scp.c bp->time_fired[spc] = -1.0; bp 9525 src/simh/scp.c BRKTAB **bpt, *bp; bp 9529 src/simh/scp.c for (bp = *bpt; bp; bp = bp->next) { bp 9530 src/simh/scp.c if (bp->typ & btyp) bp 9531 src/simh/scp.c bp->time_fired[spc] = -1.0;