bp 6429 src/simh/scp.c BRKTAB *bp; bp 6437 src/simh/scp.c if ((!(bp = sim_brk_fnd (val))) || (!(bp->typ & BRK_TYP_DYN_STEPOVER))) bp 8990 src/simh/scp.c BRKTAB *bp; bp 8993 src/simh/scp.c bp = sim_brk_tab[i]; bp 8995 src/simh/scp.c while (bp) bp 8997 src/simh/scp.c BRKTAB *bpt = bp->next; bp 8999 src/simh/scp.c FREE (bp->act); bp 9000 src/simh/scp.c FREE (bp); bp 9001 src/simh/scp.c bp = bpt; bp 9023 src/simh/scp.c BRKTAB *bp; bp 9033 src/simh/scp.c bp = sim_brk_tab[p]; /* table addr */ bp 9034 src/simh/scp.c if (loc == bp->addr) { /* match? */ bp 9036 src/simh/scp.c return bp; bp 9038 src/simh/scp.c else if (loc < bp->addr) /* go down? p is upper */ bp 9042 src/simh/scp.c if (loc < bp->addr) /* insrt before or */ bp 9050 src/simh/scp.c BRKTAB *bp = sim_brk_fnd (loc); bp 9052 src/simh/scp.c while (bp) { bp 9053 src/simh/scp.c if (any_typ ? ((bp->typ & btyp) && (bp->time_fired[spc] != sim_gtime())) : bp 9054 src/simh/scp.c (bp->typ == btyp)) bp 9055 src/simh/scp.c return bp; bp 9056 src/simh/scp.c bp = bp->next; bp 9058 src/simh/scp.c return bp; bp 9066 src/simh/scp.c BRKTAB *bp, **newp; bp 9088 src/simh/scp.c bp = (BRKTAB *)calloc (1, sizeof (*bp)); bp 9089 src/simh/scp.c if (!bp) bp 9101 src/simh/scp.c bp->next = sim_brk_tab[sim_brk_ins]; bp 9102 src/simh/scp.c sim_brk_tab[sim_brk_ins] = bp; bp 9103 src/simh/scp.c if (bp->next == NULL) bp 9105 src/simh/scp.c bp->addr = loc; bp 9106 src/simh/scp.c bp->typ = btyp; bp 9107 src/simh/scp.c bp->cnt = 0; bp 9108 src/simh/scp.c bp->act = NULL; bp 9110 src/simh/scp.c bp->time_fired[i] = -1.0; bp 9111 src/simh/scp.c return bp; bp 9118 src/simh/scp.c BRKTAB *bp; bp 9129 src/simh/scp.c bp = sim_brk_fnd (loc); /* loc present? */ bp 9130 src/simh/scp.c if (!bp) /* no, allocate */ bp 9131 src/simh/scp.c bp = sim_brk_new (loc, sw); bp 9133 src/simh/scp.c while (bp && (bp->typ != (uint32)sw)) bp 9134 src/simh/scp.c bp = bp->next; bp 9135 src/simh/scp.c if (!bp) bp 9136 src/simh/scp.c bp = sim_brk_new (loc, sw); bp 9138 src/simh/scp.c if (!bp) /* still no? mem err */ bp 9140 src/simh/scp.c bp->cnt = ncnt; /* set count */ bp 9142 src/simh/scp.c (bp->act != NULL) && (act != NULL)) { /* replace old action? */ bp 9143 src/simh/scp.c FREE (bp->act); /* deallocate */ bp 9144 src/simh/scp.c bp->act = NULL; /* now no action */ bp 9151 src/simh/scp.c bp->act = newp; /* set pointer */ bp 9162 src/simh/scp.c BRKTAB *bp = sim_brk_fnd (loc); bp 9165 src/simh/scp.c if (!bp) /* not there? ok */ bp 9171 src/simh/scp.c while (bp) { bp 9172 src/simh/scp.c if (bp->typ == (bp->typ & sw)) { bp 9173 src/simh/scp.c FREE (bp->act); /* deallocate action */ bp 9174 src/simh/scp.c if (bp == sim_brk_tab[sim_brk_ins]) bp 9175 src/simh/scp.c bpl = sim_brk_tab[sim_brk_ins] = bp->next; bp 9179 src/simh/scp.c bpl->next = bp->next; bp 9181 src/simh/scp.c FREE (bp); bp 9182 src/simh/scp.c bp = bpl; bp 9185 src/simh/scp.c bpl = bp; bp 9186 src/simh/scp.c bp = bp->next; bp 9197 src/simh/scp.c bp = sim_brk_tab[i]; bp 9198 src/simh/scp.c while (bp) { bp 9199 src/simh/scp.c sim_brk_summ |= (bp->typ & ~BRK_TYP_TEMP); bp 9200 src/simh/scp.c bp = bp->next; bp 9228 src/simh/scp.c BRKTAB *bp = sim_brk_fnd_ex (loc, sw & (~SWMASK ('C')), FALSE, 0); bp 9234 src/simh/scp.c if (!bp || (!(bp->typ & sw))) { bp 9253 src/simh/scp.c if ((bp->typ >> i) & 1) { bp 9277 src/simh/scp.c if (bp->cnt > 0) { bp 9279 src/simh/scp.c (void)fprintf (st, "[%d]", bp->cnt); } } bp 9280 src/simh/scp.c if (bp->act != NULL) { bp 9282 src/simh/scp.c (void)fprintf (st, "; %s", bp->act); } } bp 9353 src/simh/scp.c BRKTAB *bp; bp 9359 src/simh/scp.c if ((bp = sim_brk_fnd_ex (loc, btyp, TRUE, spc))) { /* in table, and type match? */ bp 9362 src/simh/scp.c if (bp->time_fired[spc] == s_gtime) /* already taken? */ bp 9364 src/simh/scp.c bp->time_fired[spc] = s_gtime; /* remember match time */ bp 9365 src/simh/scp.c if (--bp->cnt > 0) /* count > 0? */ bp 9367 src/simh/scp.c bp->cnt = 0; /* reset count */ bp 9368 src/simh/scp.c sim_brk_setact (bp->act); /* set up actions */ bp 9369 src/simh/scp.c sim_brk_match_type = btyp & bp->typ; /* set return value */ bp 9370 src/simh/scp.c if (bp->typ & BRK_TYP_TEMP) bp 9371 src/simh/scp.c sim_brk_clr (loc, bp->typ); /* delete one-shot breakpoint */ bp 9443 src/simh/scp.c BRKTAB **bpt, *bp; bp 9448 src/simh/scp.c for (bp = *bpt; bp; bp = bp->next) { bp 9450 src/simh/scp.c bp->time_fired[spc] = -1.0; bp 9459 src/simh/scp.c BRKTAB **bpt, *bp; bp 9463 src/simh/scp.c for (bp = *bpt; bp; bp = bp->next) { bp 9464 src/simh/scp.c if (bp->typ & btyp) bp 9465 src/simh/scp.c bp->time_fired[spc] = -1.0;