xref: /openbsd/sys/arch/m88k/include/ptrace.h (revision 2fa72412)
1*2fa72412Spirofti /*	$OpenBSD: ptrace.h,v 1.4 2011/03/23 16:54:35 pirofti Exp $ */
23180e169Smiod /*
33180e169Smiod  * Copyright (c) 1999, Steve Murphree, Jr.
43180e169Smiod  * Copyright (c) 1992, 1993
53180e169Smiod  *	The Regents of the University of California.  All rights reserved.
63180e169Smiod  *
73180e169Smiod  * This software was developed by the Computer Systems Engineering group
83180e169Smiod  * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
93180e169Smiod  * contributed to Berkeley.
103180e169Smiod  *
113180e169Smiod  * All advertising materials mentioning features or use of this software
123180e169Smiod  * must display the following acknowledgement:
133180e169Smiod  *	This product includes software developed by the University of
143180e169Smiod  *	California, Lawrence Berkeley Laboratory.
153180e169Smiod  *
163180e169Smiod  * Redistribution and use in source and binary forms, with or without
173180e169Smiod  * modification, are permitted provided that the following conditions
183180e169Smiod  * are met:
193180e169Smiod  * 1. Redistributions of source code must retain the above copyright
203180e169Smiod  *    notice, this list of conditions and the following disclaimer.
213180e169Smiod  * 2. Redistributions in binary form must reproduce the above copyright
223180e169Smiod  *    notice, this list of conditions and the following disclaimer in the
233180e169Smiod  *    documentation and/or other materials provided with the distribution.
243180e169Smiod  * 3. Neither the name of the University nor the names of its contributors
253180e169Smiod  *    may be used to endorse or promote products derived from this software
263180e169Smiod  *    without specific prior written permission.
273180e169Smiod  *
283180e169Smiod  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
293180e169Smiod  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
303180e169Smiod  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
313180e169Smiod  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
323180e169Smiod  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
333180e169Smiod  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
343180e169Smiod  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
353180e169Smiod  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
363180e169Smiod  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
373180e169Smiod  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
383180e169Smiod  * SUCH DAMAGE.
393180e169Smiod  *
403180e169Smiod  *	@(#)ptrace.h	8.1 (Berkeley) 6/11/93
413180e169Smiod  *
423180e169Smiod  * from: Header: ptrace.h,v 1.6 92/11/26 02:04:43 torek Exp  (LBL)
433180e169Smiod  */
443180e169Smiod 
453180e169Smiod /*
463180e169Smiod  * m88k-dependent ptrace definitions.
473180e169Smiod  */
483180e169Smiod 
49*2fa72412Spirofti #ifndef _M88K_PTRACE_H_
50*2fa72412Spirofti #define _M88K_PTRACE_H_
513180e169Smiod 
523180e169Smiod #define	PT_STEP		(PT_FIRSTMACH + 0)
533180e169Smiod #define	PT_GETREGS	(PT_FIRSTMACH + 1)
543180e169Smiod #define	PT_SETREGS	(PT_FIRSTMACH + 2)
553180e169Smiod 
56*2fa72412Spirofti #endif /* _M88K_PTRACE_H_ */
57