ptrace.h revision 1.1
11.1Sitojun/* $NetBSD: ptrace.h,v 1.1 1999/09/13 10:31:21 itojun Exp $ */ 21.1Sitojun 31.1Sitojun/* 41.1Sitojun * Copyright (c) 1993 Christopher G. Demetriou 51.1Sitojun * All rights reserved. 61.1Sitojun * 71.1Sitojun * Redistribution and use in source and binary forms, with or without 81.1Sitojun * modification, are permitted provided that the following conditions 91.1Sitojun * are met: 101.1Sitojun * 1. Redistributions of source code must retain the above copyright 111.1Sitojun * notice, this list of conditions and the following disclaimer. 121.1Sitojun * 2. Redistributions in binary form must reproduce the above copyright 131.1Sitojun * notice, this list of conditions and the following disclaimer in the 141.1Sitojun * documentation and/or other materials provided with the distribution. 151.1Sitojun * 3. All advertising materials mentioning features or use of this software 161.1Sitojun * must display the following acknowledgement: 171.1Sitojun * This product includes software developed by Christopher G. Demetriou. 181.1Sitojun * 4. The name of the author may not be used to endorse or promote products 191.1Sitojun * derived from this software without specific prior written permission 201.1Sitojun * 211.1Sitojun * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 221.1Sitojun * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 231.1Sitojun * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 241.1Sitojun * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 251.1Sitojun * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 261.1Sitojun * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 271.1Sitojun * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 281.1Sitojun * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 291.1Sitojun * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 301.1Sitojun * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 311.1Sitojun */ 321.1Sitojun 331.1Sitojun/* 341.1Sitojun * sh3-dependent ptrace definitions 351.1Sitojun */ 361.1Sitojun#define PT_STEP (PT_FIRSTMACH + 0) 371.1Sitojun#define PT_GETREGS (PT_FIRSTMACH + 1) 381.1Sitojun#define PT_SETREGS (PT_FIRSTMACH + 2) 391.1Sitojun 40