File:  [CSRG BSD Unix] / 43BSDReno / bin / adb / common_source / bkpt.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:57 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

/*
 * adb: breakpoints.
 *
 *	@(#)bkpt.h	5.1 (Berkeley) 1/16/89
 */

#define	MAX_BKPTCOM	64	/* maximum length of command at bkpt */

enum bkflag { BKPT_FREE, BKPT_SET, BKPT_TRIPPED };

struct bkpt {
	struct	bkpt *next;	/* linked list */
	enum	bkflag state;	/* state */
	addr_t	loc;		/* where set (in SP_INSTR) */
	bpt_t	ins;		/* original instruction(s) */
	int	count;		/* ??? */
	int	initcnt;	/* ??? */
	char	comm[MAX_BKPTCOM];/* command to execute when tripped */
};

struct bkpt *scanbkpt();	/* look up a breakpoint given an address */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.