bp 6084 src/simh/scp.c BRKTAB *bp; bp 6092 src/simh/scp.c if ((!(bp = sim_brk_fnd (val))) || (!(bp->typ & BRK_TYP_DYN_STEPOVER))) bp 8631 src/simh/scp.c BRKTAB *bp; bp 8634 src/simh/scp.c bp = sim_brk_tab[i]; bp 8636 src/simh/scp.c while (bp) bp 8638 src/simh/scp.c BRKTAB *bpt = bp->next; bp 8640 src/simh/scp.c FREE (bp->act); bp 8641 src/simh/scp.c FREE (bp); bp 8642 src/simh/scp.c bp = bpt; bp 8664 src/simh/scp.c BRKTAB *bp; bp 8674 src/simh/scp.c bp = sim_brk_tab[p]; /* table addr */ bp 8675 src/simh/scp.c if (loc == bp->addr) { /* match? */ bp 8677 src/simh/scp.c return bp; bp 8679 src/simh/scp.c else if (loc < bp->addr) /* go down? p is upper */ bp 8683 src/simh/scp.c if (loc < bp->addr) /* insrt before or */ bp 8691 src/simh/scp.c BRKTAB *bp = sim_brk_fnd (loc); bp 8693 src/simh/scp.c while (bp) { bp 8694 src/simh/scp.c if (any_typ ? ((bp->typ & btyp) && (bp->time_fired[spc] != sim_gtime())) : bp 8695 src/simh/scp.c (bp->typ == btyp)) bp 8696 src/simh/scp.c return bp; bp 8697 src/simh/scp.c bp = bp->next; bp 8699 src/simh/scp.c return bp; bp 8707 src/simh/scp.c BRKTAB *bp, **newp; bp 8729 src/simh/scp.c bp = (BRKTAB *)calloc (1, sizeof (*bp)); bp 8730 src/simh/scp.c if (!bp) bp 8742 src/simh/scp.c bp->next = sim_brk_tab[sim_brk_ins]; bp 8743 src/simh/scp.c sim_brk_tab[sim_brk_ins] = bp; bp 8744 src/simh/scp.c if (bp->next == NULL) bp 8746 src/simh/scp.c bp->addr = loc; bp 8747 src/simh/scp.c bp->typ = btyp; bp 8748 src/simh/scp.c bp->cnt = 0; bp 8749 src/simh/scp.c bp->act = NULL; bp 8751 src/simh/scp.c bp->time_fired[i] = -1.0; bp 8752 src/simh/scp.c return bp; bp 8759 src/simh/scp.c BRKTAB *bp; bp 8770 src/simh/scp.c bp = sim_brk_fnd (loc); /* loc present? */ bp 8771 src/simh/scp.c if (!bp) /* no, allocate */ bp 8772 src/simh/scp.c bp = sim_brk_new (loc, sw); bp 8774 src/simh/scp.c while (bp && (bp->typ != (uint32)sw)) bp 8775 src/simh/scp.c bp = bp->next; bp 8776 src/simh/scp.c if (!bp) bp 8777 src/simh/scp.c bp = sim_brk_new (loc, sw); bp 8779 src/simh/scp.c if (!bp) /* still no? mem err */ bp 8781 src/simh/scp.c bp->cnt = ncnt; /* set count */ bp 8783 src/simh/scp.c (bp->act != NULL) && (act != NULL)) { /* replace old action? */ bp 8784 src/simh/scp.c FREE (bp->act); /* deallocate */ bp 8785 src/simh/scp.c bp->act = NULL; /* now no action */ bp 8792 src/simh/scp.c bp->act = newp; /* set pointer */ bp 8803 src/simh/scp.c BRKTAB *bp = sim_brk_fnd (loc); bp 8806 src/simh/scp.c if (!bp) /* not there? ok */ bp 8812 src/simh/scp.c while (bp) { bp 8813 src/simh/scp.c if (bp->typ == (bp->typ & sw)) { bp 8814 src/simh/scp.c FREE (bp->act); /* deallocate action */ bp 8815 src/simh/scp.c if (bp == sim_brk_tab[sim_brk_ins]) bp 8816 src/simh/scp.c bpl = sim_brk_tab[sim_brk_ins] = bp->next; bp 8820 src/simh/scp.c bpl->next = bp->next; bp 8822 src/simh/scp.c FREE (bp); bp 8823 src/simh/scp.c bp = bpl; bp 8826 src/simh/scp.c bpl = bp; bp 8827 src/simh/scp.c bp = bp->next; bp 8838 src/simh/scp.c bp = sim_brk_tab[i]; bp 8839 src/simh/scp.c while (bp) { bp 8840 src/simh/scp.c sim_brk_summ |= (bp->typ & ~BRK_TYP_TEMP); bp 8841 src/simh/scp.c bp = bp->next; bp 8869 src/simh/scp.c BRKTAB *bp = sim_brk_fnd_ex (loc, sw & (~SWMASK ('C')), FALSE, 0); bp 8875 src/simh/scp.c if (!bp || (!(bp->typ & sw))) bp 8889 src/simh/scp.c if ((bp->typ >> i) & 1) { bp 8906 src/simh/scp.c if (bp->cnt > 0) bp 8907 src/simh/scp.c fprintf (st, "[%d]", bp->cnt); bp 8908 src/simh/scp.c if (bp->act != NULL) bp 8909 src/simh/scp.c fprintf (st, "; %s", bp->act); bp 8980 src/simh/scp.c BRKTAB *bp; bp 8986 src/simh/scp.c if ((bp = sim_brk_fnd_ex (loc, btyp, TRUE, spc))) { /* in table, and type match? */ bp 8989 src/simh/scp.c if (bp->time_fired[spc] == s_gtime) /* already taken? */ bp 8991 src/simh/scp.c bp->time_fired[spc] = s_gtime; /* remember match time */ bp 8992 src/simh/scp.c if (--bp->cnt > 0) /* count > 0? */ bp 8994 src/simh/scp.c bp->cnt = 0; /* reset count */ bp 8995 src/simh/scp.c sim_brk_setact (bp->act); /* set up actions */ bp 8996 src/simh/scp.c sim_brk_match_type = btyp & bp->typ; /* set return value */ bp 8997 src/simh/scp.c if (bp->typ & BRK_TYP_TEMP) bp 8998 src/simh/scp.c sim_brk_clr (loc, bp->typ); /* delete one-shot breakpoint */ bp 9070 src/simh/scp.c BRKTAB **bpt, *bp; bp 9075 src/simh/scp.c for (bp = *bpt; bp; bp = bp->next) { bp 9077 src/simh/scp.c bp->time_fired[spc] = -1.0; bp 9086 src/simh/scp.c BRKTAB **bpt, *bp; bp 9090 src/simh/scp.c for (bp = *bpt; bp; bp = bp->next) { bp 9091 src/simh/scp.c if (bp->typ & btyp) bp 9092 src/simh/scp.c bp->time_fired[spc] = -1.0;