ptrace.h revision 1.4
11.4Sderaadt/*	$NetBSD: ptrace.h,v 1.4 1994/11/20 20:53:27 deraadt Exp $ */
21.4Sderaadt
31.1Sderaadt/*
41.1Sderaadt * Copyright (c) 1992, 1993
51.1Sderaadt *	The Regents of the University of California.  All rights reserved.
61.1Sderaadt *
71.1Sderaadt * This software was developed by the Computer Systems Engineering group
81.1Sderaadt * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
91.1Sderaadt * contributed to Berkeley.
101.1Sderaadt *
111.1Sderaadt * All advertising materials mentioning features or use of this software
121.1Sderaadt * must display the following acknowledgement:
131.1Sderaadt *	This product includes software developed by the University of
141.1Sderaadt *	California, Lawrence Berkeley Laboratory.
151.1Sderaadt *
161.1Sderaadt * Redistribution and use in source and binary forms, with or without
171.1Sderaadt * modification, are permitted provided that the following conditions
181.1Sderaadt * are met:
191.1Sderaadt * 1. Redistributions of source code must retain the above copyright
201.1Sderaadt *    notice, this list of conditions and the following disclaimer.
211.1Sderaadt * 2. Redistributions in binary form must reproduce the above copyright
221.1Sderaadt *    notice, this list of conditions and the following disclaimer in the
231.1Sderaadt *    documentation and/or other materials provided with the distribution.
241.1Sderaadt * 3. All advertising materials mentioning features or use of this software
251.1Sderaadt *    must display the following acknowledgement:
261.1Sderaadt *	This product includes software developed by the University of
271.1Sderaadt *	California, Berkeley and its contributors.
281.1Sderaadt * 4. Neither the name of the University nor the names of its contributors
291.1Sderaadt *    may be used to endorse or promote products derived from this software
301.1Sderaadt *    without specific prior written permission.
311.1Sderaadt *
321.1Sderaadt * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
331.1Sderaadt * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
341.1Sderaadt * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
351.1Sderaadt * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
361.1Sderaadt * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
371.1Sderaadt * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
381.1Sderaadt * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
391.1Sderaadt * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
401.1Sderaadt * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
411.1Sderaadt * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
421.1Sderaadt * SUCH DAMAGE.
431.1Sderaadt *
441.1Sderaadt *	@(#)ptrace.h	8.1 (Berkeley) 6/11/93
451.1Sderaadt */
461.1Sderaadt
471.1Sderaadt/*
481.1Sderaadt * SPARC-dependent ptrace definitions.
491.1Sderaadt */
501.1Sderaadt#define	PT_GETREGS	(PT_FIRSTMACH + 0)
511.1Sderaadt#define	PT_SETREGS	(PT_FIRSTMACH + 1)
521.3Spk#define	PT_GETFPREGS	(PT_FIRSTMACH + 2)
531.3Spk#define	PT_SETFPREGS	(PT_FIRSTMACH + 3)
54