File:  [OS/2 SDKs] / os2sdk / include / ptrace.h
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:25:55 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: os2sdk-1988, HEAD
Microsoft OS/2 SDK 03-01-1988

/*static char *SCCSID = "@(#)ptrace.h	1.1 86/09/10";*/
/*
 *	Ptrace.h - define the DOSPTRACE function call and its buffer parameter
 *
 *	Copyright (C) Microsoft Corporation, 1986
 */

struct PtraceBuf
{
	unsigned PID ;		/* Process ID of program being debugged */
	unsigned TID ;		/* Thread ID of program being debugged ID */
	unsigned Cmd ;		/* Request type / Result code (returned) */
	unsigned Value ;	/* Input data / Error code (returned) */
	unsigned OffV ;		/* Far address */
	unsigned SegV ;
	unsigned MTE ;		/* Module Table Entry */
	unsigned rAX ;		/* Registers of program being debugged */
	unsigned rBX ;
	unsigned rCX ;
	unsigned rDX ;
	unsigned rSI ;
	unsigned rDI ;
	unsigned rBP ;
	unsigned rDS ;
	unsigned rES ;
	unsigned rIP ;
	unsigned rCS ;
	unsigned rF ;		/* flags */
	unsigned rSP ;
	unsigned rSS ;
} ;

extern unsigned far pascal DOSPTRACE (
	struct PtraceBuf far * ) ;

unix.superglobalmegacorp.com

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