bp 5871 src/simh/scp.c BRKTAB *bp; bp 5879 src/simh/scp.c if ((!(bp = sim_brk_fnd (val))) || (!(bp->typ & BRK_TYP_DYN_STEPOVER))) bp 8418 src/simh/scp.c BRKTAB *bp; bp 8421 src/simh/scp.c bp = sim_brk_tab[i]; bp 8423 src/simh/scp.c while (bp) bp 8425 src/simh/scp.c BRKTAB *bpt = bp->next; bp 8427 src/simh/scp.c FREE (bp->act); bp 8428 src/simh/scp.c FREE (bp); bp 8429 src/simh/scp.c bp = bpt; bp 8451 src/simh/scp.c BRKTAB *bp; bp 8461 src/simh/scp.c bp = sim_brk_tab[p]; /* table addr */ bp 8462 src/simh/scp.c if (loc == bp->addr) { /* match? */ bp 8464 src/simh/scp.c return bp; bp 8466 src/simh/scp.c else if (loc < bp->addr) /* go down? p is upper */ bp 8470 src/simh/scp.c if (loc < bp->addr) /* insrt before or */ bp 8478 src/simh/scp.c BRKTAB *bp = sim_brk_fnd (loc); bp 8480 src/simh/scp.c while (bp) { bp 8481 src/simh/scp.c if (any_typ ? ((bp->typ & btyp) && (bp->time_fired[spc] != sim_gtime())) : bp 8482 src/simh/scp.c (bp->typ == btyp)) bp 8483 src/simh/scp.c return bp; bp 8484 src/simh/scp.c bp = bp->next; bp 8486 src/simh/scp.c return bp; bp 8494 src/simh/scp.c BRKTAB *bp, **newp; bp 8516 src/simh/scp.c bp = (BRKTAB *)calloc (1, sizeof (*bp)); bp 8517 src/simh/scp.c if (!bp) bp 8529 src/simh/scp.c bp->next = sim_brk_tab[sim_brk_ins]; bp 8530 src/simh/scp.c sim_brk_tab[sim_brk_ins] = bp; bp 8531 src/simh/scp.c if (bp->next == NULL) bp 8533 src/simh/scp.c bp->addr = loc; bp 8534 src/simh/scp.c bp->typ = btyp; bp 8535 src/simh/scp.c bp->cnt = 0; bp 8536 src/simh/scp.c bp->act = NULL; bp 8538 src/simh/scp.c bp->time_fired[i] = -1.0; bp 8539 src/simh/scp.c return bp; bp 8546 src/simh/scp.c BRKTAB *bp; bp 8557 src/simh/scp.c bp = sim_brk_fnd (loc); /* loc present? */ bp 8558 src/simh/scp.c if (!bp) /* no, allocate */ bp 8559 src/simh/scp.c bp = sim_brk_new (loc, sw); bp 8561 src/simh/scp.c while (bp && (bp->typ != (uint32)sw)) bp 8562 src/simh/scp.c bp = bp->next; bp 8563 src/simh/scp.c if (!bp) bp 8564 src/simh/scp.c bp = sim_brk_new (loc, sw); bp 8566 src/simh/scp.c if (!bp) /* still no? mem err */ bp 8568 src/simh/scp.c bp->cnt = ncnt; /* set count */ bp 8570 src/simh/scp.c (bp->act != NULL) && (act != NULL)) { /* replace old action? */ bp 8571 src/simh/scp.c FREE (bp->act); /* deallocate */ bp 8572 src/simh/scp.c bp->act = NULL; /* now no action */ bp 8579 src/simh/scp.c bp->act = newp; /* set pointer */ bp 8590 src/simh/scp.c BRKTAB *bp = sim_brk_fnd (loc); bp 8593 src/simh/scp.c if (!bp) /* not there? ok */ bp 8599 src/simh/scp.c while (bp) { bp 8600 src/simh/scp.c if (bp->typ == (bp->typ & sw)) { bp 8601 src/simh/scp.c FREE (bp->act); /* deallocate action */ bp 8602 src/simh/scp.c if (bp == sim_brk_tab[sim_brk_ins]) bp 8603 src/simh/scp.c bpl = sim_brk_tab[sim_brk_ins] = bp->next; bp 8607 src/simh/scp.c bpl->next = bp->next; bp 8609 src/simh/scp.c FREE (bp); bp 8610 src/simh/scp.c bp = bpl; bp 8613 src/simh/scp.c bpl = bp; bp 8614 src/simh/scp.c bp = bp->next; bp 8625 src/simh/scp.c bp = sim_brk_tab[i]; bp 8626 src/simh/scp.c while (bp) { bp 8627 src/simh/scp.c sim_brk_summ |= (bp->typ & ~BRK_TYP_TEMP); bp 8628 src/simh/scp.c bp = bp->next; bp 8656 src/simh/scp.c BRKTAB *bp = sim_brk_fnd_ex (loc, sw & (~SWMASK ('C')), FALSE, 0); bp 8662 src/simh/scp.c if (!bp || (!(bp->typ & sw))) bp 8676 src/simh/scp.c if ((bp->typ >> i) & 1) { bp 8693 src/simh/scp.c if (bp->cnt > 0) bp 8694 src/simh/scp.c fprintf (st, "[%d]", bp->cnt); bp 8695 src/simh/scp.c if (bp->act != NULL) bp 8696 src/simh/scp.c fprintf (st, "; %s", bp->act); bp 8767 src/simh/scp.c BRKTAB *bp; bp 8773 src/simh/scp.c if ((bp = sim_brk_fnd_ex (loc, btyp, TRUE, spc))) { /* in table, and type match? */ bp 8776 src/simh/scp.c if (bp->time_fired[spc] == s_gtime) /* already taken? */ bp 8778 src/simh/scp.c bp->time_fired[spc] = s_gtime; /* remember match time */ bp 8779 src/simh/scp.c if (--bp->cnt > 0) /* count > 0? */ bp 8781 src/simh/scp.c bp->cnt = 0; /* reset count */ bp 8782 src/simh/scp.c sim_brk_setact (bp->act); /* set up actions */ bp 8783 src/simh/scp.c sim_brk_match_type = btyp & bp->typ; /* set return value */ bp 8784 src/simh/scp.c if (bp->typ & BRK_TYP_TEMP) bp 8785 src/simh/scp.c sim_brk_clr (loc, bp->typ); /* delete one-shot breakpoint */ bp 8857 src/simh/scp.c BRKTAB **bpt, *bp; bp 8862 src/simh/scp.c for (bp = *bpt; bp; bp = bp->next) { bp 8864 src/simh/scp.c bp->time_fired[spc] = -1.0; bp 8873 src/simh/scp.c BRKTAB **bpt, *bp; bp 8877 src/simh/scp.c for (bp = *bpt; bp; bp = bp->next) { bp 8878 src/simh/scp.c if (bp->typ & btyp) bp 8879 src/simh/scp.c bp->time_fired[spc] = -1.0;