xref: /dflybsd-src/sys/platform/pc64/include/ptrace.h (revision 2c64e990ea2bb1213bd0758af732469466873ba6)
139923942SSimon Schubert /*
239923942SSimon Schubert  * Copyright (c) 1992, 1993
339923942SSimon Schubert  *	The Regents of the University of California.  All rights reserved.
439923942SSimon Schubert  *
539923942SSimon Schubert  * Redistribution and use in source and binary forms, with or without
639923942SSimon Schubert  * modification, are permitted provided that the following conditions
739923942SSimon Schubert  * are met:
839923942SSimon Schubert  * 1. Redistributions of source code must retain the above copyright
939923942SSimon Schubert  *    notice, this list of conditions and the following disclaimer.
1039923942SSimon Schubert  * 2. Redistributions in binary form must reproduce the above copyright
1139923942SSimon Schubert  *    notice, this list of conditions and the following disclaimer in the
1239923942SSimon Schubert  *    documentation and/or other materials provided with the distribution.
13*2c64e990Szrj  * 3. Neither the name of the University nor the names of its contributors
1439923942SSimon Schubert  *    may be used to endorse or promote products derived from this software
1539923942SSimon Schubert  *    without specific prior written permission.
1639923942SSimon Schubert  *
1739923942SSimon Schubert  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1839923942SSimon Schubert  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1939923942SSimon Schubert  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2039923942SSimon Schubert  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2139923942SSimon Schubert  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2239923942SSimon Schubert  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2339923942SSimon Schubert  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2439923942SSimon Schubert  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2539923942SSimon Schubert  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2639923942SSimon Schubert  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2739923942SSimon Schubert  * SUCH DAMAGE.
2839923942SSimon Schubert  *
2939923942SSimon Schubert  *	@(#)ptrace.h	8.1 (Berkeley) 6/11/93
3039923942SSimon Schubert  * $FreeBSD: src/sys/i386/include/ptrace.h,v 1.9 1999/12/29 04:33:06 peter Exp $
3139923942SSimon Schubert  * $DragonFly: src/sys/platform/pc64/include/ptrace.h,v 1.1 2007/08/21 19:45:45 corecode Exp $
3239923942SSimon Schubert  */
3339923942SSimon Schubert 
3439923942SSimon Schubert #ifndef _MACHINE_PTRACE_H_
3539923942SSimon Schubert #define _MACHINE_PTRACE_H_
3639923942SSimon Schubert 
3739923942SSimon Schubert /*
3839923942SSimon Schubert  * Machine dependent trace commands.
3939923942SSimon Schubert  */
4039923942SSimon Schubert #define PT_GETREGS      (PT_FIRSTMACH + 1)
4139923942SSimon Schubert #define PT_SETREGS      (PT_FIRSTMACH + 2)
4239923942SSimon Schubert #define PT_GETFPREGS    (PT_FIRSTMACH + 3)
4339923942SSimon Schubert #define PT_SETFPREGS    (PT_FIRSTMACH + 4)
4439923942SSimon Schubert #define PT_GETDBREGS    (PT_FIRSTMACH + 5)
4539923942SSimon Schubert #define PT_SETDBREGS    (PT_FIRSTMACH + 6)
4639923942SSimon Schubert 
4739923942SSimon Schubert #endif
48