1*e1e4f5b1Sdrahn /* $OpenBSD: ptrace.h,v 1.1 2004/02/01 05:09:49 drahn Exp $ */ 2*e1e4f5b1Sdrahn /* $NetBSD: ptrace.h,v 1.2 2001/10/19 00:18:20 bjh21 Exp $ */ 3*e1e4f5b1Sdrahn 4*e1e4f5b1Sdrahn /* 5*e1e4f5b1Sdrahn * Copyright (c) 1995 Frank Lancaster 6*e1e4f5b1Sdrahn * Copyright (c) 1995 Tools GmbH 7*e1e4f5b1Sdrahn * All rights reserved. 8*e1e4f5b1Sdrahn * 9*e1e4f5b1Sdrahn * Redistribution and use in source and binary forms, with or without 10*e1e4f5b1Sdrahn * modification, are permitted provided that the following conditions 11*e1e4f5b1Sdrahn * are met: 12*e1e4f5b1Sdrahn * 1. Redistributions of source code must retain the above copyright 13*e1e4f5b1Sdrahn * notice, this list of conditions and the following disclaimer. 14*e1e4f5b1Sdrahn * 2. Redistributions in binary form must reproduce the above copyright 15*e1e4f5b1Sdrahn * notice, this list of conditions and the following disclaimer in the 16*e1e4f5b1Sdrahn * documentation and/or other materials provided with the distribution. 17*e1e4f5b1Sdrahn * 3. All advertising materials mentioning features or use of this software 18*e1e4f5b1Sdrahn * must display the following acknowledgement: 19*e1e4f5b1Sdrahn * This product includes software developed by Christopher G. Demetriou. 20*e1e4f5b1Sdrahn * 4. The name of the author may not be used to endorse or promote products 21*e1e4f5b1Sdrahn * derived from this software without specific prior written permission 22*e1e4f5b1Sdrahn * 23*e1e4f5b1Sdrahn * THIS SOFTWARE IS PROVIDED BY TOOLS GMBH ``AS IS'' AND ANY EXPRESS OR 24*e1e4f5b1Sdrahn * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 25*e1e4f5b1Sdrahn * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 26*e1e4f5b1Sdrahn * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, 27*e1e4f5b1Sdrahn * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 28*e1e4f5b1Sdrahn * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 29*e1e4f5b1Sdrahn * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 30*e1e4f5b1Sdrahn * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31*e1e4f5b1Sdrahn * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 32*e1e4f5b1Sdrahn * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33*e1e4f5b1Sdrahn */ 34*e1e4f5b1Sdrahn 35*e1e4f5b1Sdrahn /* 36*e1e4f5b1Sdrahn * arm-dependent ptrace definitions 37*e1e4f5b1Sdrahn */ 38*e1e4f5b1Sdrahn #ifndef _KERNEL 39*e1e4f5b1Sdrahn #define PT_STEP (PT_FIRSTMACH + 0) /* Not implemented */ 40*e1e4f5b1Sdrahn #endif 41*e1e4f5b1Sdrahn #define PT_GETREGS (PT_FIRSTMACH + 1) 42*e1e4f5b1Sdrahn #define PT_SETREGS (PT_FIRSTMACH + 2) 43*e1e4f5b1Sdrahn #define PT_GETFPREGS (PT_FIRSTMACH + 3) 44*e1e4f5b1Sdrahn #define PT_SETFPREGS (PT_FIRSTMACH + 4) 45