xref: /original-bsd/sys/hp300/hp300/kgdb_proto.h (revision 42c7e7a1)
1 /*-
2  * Copyright (c) 1991 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * Steven McCanne of Lawrence Berkeley Laboratory.
7  *
8  * %sccs.include.redist.c%
9  *
10  *	@(#)kgdb_proto.h	7.1 (Berkeley) 05/08/91
11  *
12  * $Header: kgdb_proto.h,v 1.3 91/03/12 22:06:43 mccanne Exp $ (LBL)
13  */
14 
15 /*
16  * Message types.
17  */
18 #define KGDB_MEM_R	0x01
19 #define KGDB_MEM_W	0x02
20 #define KGDB_REG_R	0x03
21 #define KGDB_REG_W	0x04
22 #define KGDB_CONT	0x05
23 #define KGDB_STEP	0x06
24 #define KGDB_KILL	0x07
25 #define KGDB_SIGNAL	0x08
26 #define KGDB_EXEC	0x09
27 
28 #define KGDB_CMD(x) ((x) & 0x0f)
29 
30 /*
31  * Message flags.
32  */
33 #define KGDB_ACK	0x80
34 #define KGDB_DELTA	0x40
35 #define KGDB_MORE	0x20
36 #define KGDB_SEQ	0x10
37