|
|
1.1 ! root 1: /* ! 2: * adb: breakpoints. ! 3: * ! 4: * @(#)bkpt.h 5.1 (Berkeley) 1/16/89 ! 5: */ ! 6: ! 7: #define MAX_BKPTCOM 64 /* maximum length of command at bkpt */ ! 8: ! 9: enum bkflag { BKPT_FREE, BKPT_SET, BKPT_TRIPPED }; ! 10: ! 11: struct bkpt { ! 12: struct bkpt *next; /* linked list */ ! 13: enum bkflag state; /* state */ ! 14: addr_t loc; /* where set (in SP_INSTR) */ ! 15: bpt_t ins; /* original instruction(s) */ ! 16: int count; /* ??? */ ! 17: int initcnt; /* ??? */ ! 18: char comm[MAX_BKPTCOM];/* command to execute when tripped */ ! 19: }; ! 20: ! 21: struct bkpt *scanbkpt(); /* look up a breakpoint given an address */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.