1 /* 2 * Copyright (c) 1990 Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * from: @(#) $Header: kgdb_proto.h,v 1.3 91/03/12 22:06:43 mccanne Exp $ (LBL) 8 * 9 * @(#)kgdb_proto.h 7.3 (Berkeley) 01/14/92 10 */ 11 12 /* 13 * Message types. 14 */ 15 #define KGDB_MEM_R 0x01 16 #define KGDB_MEM_W 0x02 17 #define KGDB_REG_R 0x03 18 #define KGDB_REG_W 0x04 19 #define KGDB_CONT 0x05 20 #define KGDB_STEP 0x06 21 #define KGDB_KILL 0x07 22 #define KGDB_SIGNAL 0x08 23 #define KGDB_EXEC 0x09 24 25 #define KGDB_CMD(x) ((x) & 0x0f) 26 27 /* 28 * Message flags. 29 */ 30 #define KGDB_ACK 0x80 31 #define KGDB_DELTA 0x40 32 #define KGDB_MORE 0x20 33 #define KGDB_SEQ 0x10 34