xref: /original-bsd/sys/sparc/sparc/kgdb_proto.h (revision 3705696b)
1 /*
2  * Copyright (c) 1992, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * This software was developed by the Computer Systems Engineering group
6  * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
7  * contributed to Berkeley.
8  *
9  * All advertising materials mentioning features or use of this software
10  * must display the following acknowledgement:
11  *	This product includes software developed by the University of
12  *	California, Lawrence Berkeley Laboratory.
13  *
14  * %sccs.include.redist.c%
15  *
16  *	@(#)kgdb_proto.h	8.1 (Berkeley) 06/11/93
17  *
18  * from: $Header: kgdb_proto.h,v 1.5 92/11/26 03:04:54 torek Exp $ (LBL)
19  */
20 
21 /*
22  * Message types.
23  */
24 #define KGDB_MEM_R	0x01
25 #define KGDB_MEM_W	0x02
26 #define KGDB_REG_R	0x03
27 #define KGDB_REG_W	0x04
28 #define KGDB_CONT	0x05
29 #define KGDB_STEP	0x06
30 #define KGDB_KILL	0x07
31 #define KGDB_SIGNAL	0x08
32 #define KGDB_EXEC	0x09
33 
34 #define KGDB_CMD(x) ((x) & 0x0f)
35 
36 /*
37  * Message flags.
38  */
39 #define KGDB_ACK	0x80
40 #define KGDB_DELTA	0x40
41 #define KGDB_MORE	0x20
42 #define KGDB_SEQ	0x10
43