summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/ptrace.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-02-26 21:49:46 +0000
committerobrien <obrien@FreeBSD.org>2002-02-26 21:49:46 +0000
commit8449ab85ee8c9725e6d86f7ac5c4d72ff2fd090a (patch)
tree95e5c9294fb8385008aeaa78c6b621fc4de30ce6 /sys/sparc64/include/ptrace.h
parenta375f90225175258803735ba27d7d221bb6985e3 (diff)
downloadFreeBSD-src-8449ab85ee8c9725e6d86f7ac5c4d72ff2fd090a.zip
FreeBSD-src-8449ab85ee8c9725e6d86f7ac5c4d72ff2fd090a.tar.gz
Define basic macros required by GDB.
Diffstat (limited to 'sys/sparc64/include/ptrace.h')
-rw-r--r--sys/sparc64/include/ptrace.h26
1 files changed, 21 insertions, 5 deletions
diff --git a/sys/sparc64/include/ptrace.h b/sys/sparc64/include/ptrace.h
index 0f1c268..eb78807 100644
--- a/sys/sparc64/include/ptrace.h
+++ b/sys/sparc64/include/ptrace.h
@@ -1,6 +1,6 @@
-/*-
- * Copyright (c) 2001 Jake Burkholder.
- * All rights reserved.
+/*
+ * Copyright (c) 1992, 1993
+ * The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -10,11 +10,18 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
*
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
@@ -23,10 +30,19 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
+ * @(#)ptrace.h 8.1 (Berkeley) 6/11/93
* $FreeBSD$
*/
#ifndef _MACHINE_PTRACE_H_
#define _MACHINE_PTRACE_H_
+/*
+ * Machine dependent trace commands.
+ */
+#define PT_GETREGS (PT_FIRSTMACH + 1)
+#define PT_SETREGS (PT_FIRSTMACH + 2)
+#define PT_GETFPREGS (PT_FIRSTMACH + 3)
+#define PT_SETFPREGS (PT_FIRSTMACH + 4)
+
#endif /* !_MACHINE_PTRACE_H_ */
OpenPOWER on IntegriCloud