File:  [Research Unix] / researchv10no / cmd / adb / cray / ptrace.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

/*
 * opcodes for ptrace
 * should be in a system header
 * sigh
 */

#define	P_INIT	0	/* let my parent trace me */
#define	P_RDI	1	/* read a word of i-space */
#define	P_RDD	2	/* read a word of d-space */
#define	P_RDU	3	/* read a word of user block */
#define	P_WRI	4	/* write a word of i-space */
#define	P_WRD	5	/* write a word of d-space */
#define	P_WRU	6	/* write a word to user block */
#define	P_CONT	7	/* continue running after signal */
#define	P_KILL	8	/* kill tracee */
#define	P_STEP	9	/* single step */

#define	CONTNEXT (int *)1	/* continue where we stopped */

typedef long PTWORD;
PTWORD ptrace();

unix.superglobalmegacorp.com

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