1: /*
2: * Copyright (c) 1980 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: */
6:
7: #ifndef lint
8: static char sccsid[] = "@(#)setbps.c 5.1 (Berkeley) 6/5/85";
9: #endif not lint
10: /*
11: * set all breakpoints in object code
12: */
13:
14: #include "defs.h"
15: #include "breakpoint.h"
16: #include "process.h"
17: #include "machine.h"
18: #include "bp.rep"
19:
20: setallbps()
21: {
22: register BPINFO *p;
23:
24: for (p = bphead; p != NIL; p = p->bpnext) {
25: setbp(p->bpaddr);
26: }
27: }
28:
29: /*
30: * undo damage done by "setallbps"
31: */
32:
33: unsetallbps()
34: {
35: register BPINFO *p;
36:
37: for (p = bphead; p != NIL; p = p->bpnext) {
38: unsetbp(p->bpaddr);
39: }
40: }
Defined functions
Defined variables
sccsid
defined in line
8;
never used