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

setallbps defined in line 20; never used
unsetallbps defined in line 33; never used

Defined variables

sccsid defined in line 8; never used
Last modified: 1985-06-06
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1645
Valid CSS Valid XHTML 1.0 Strict