Sun Oct 26 19:10:10 2008 UTC ()
Multiple inclusion protection.


(uwe)
diff -r1.4 -r1.5 src/sys/arch/sh3/include/ptrace.h

cvs diff -r1.4 -r1.5 src/sys/arch/sh3/include/ptrace.h (expand / switch to unified diff)

--- src/sys/arch/sh3/include/ptrace.h 2008/01/25 12:03:36 1.4
+++ src/sys/arch/sh3/include/ptrace.h 2008/10/26 19:10:10 1.5
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: ptrace.h,v 1.4 2008/01/25 12:03:36 skrll Exp $ */ 1/* $NetBSD: ptrace.h,v 1.5 2008/10/26 19:10:10 uwe Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1993 Christopher G. Demetriou 4 * Copyright (c) 1993 Christopher G. Demetriou
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -20,24 +20,29 @@ @@ -20,24 +20,29 @@
20 * 20 *
21 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 21 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
22 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 22 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
23 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 23 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
24 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 24 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */ 31 */
32 32
 33#ifndef _SH3_PTRACE_H_
 34#define _SH3_PTRACE_H_
 35
33/* 36/*
34 * sh3-dependent ptrace definitions 37 * sh3-dependent ptrace definitions
35 */ 38 */
36 39
37#define PT_GETREGS (PT_FIRSTMACH + 1) 40#define PT_GETREGS (PT_FIRSTMACH + 1)
38#define PT_SETREGS (PT_FIRSTMACH + 2) 41#define PT_SETREGS (PT_FIRSTMACH + 2)
39 42
40#define PT_MACHDEP_STRINGS \ 43#define PT_MACHDEP_STRINGS \
41 "(unused)", \ 44 "(unused)", \
42 "PT_GETREGS", \ 45 "PT_GETREGS", \
43 "PT_SETREGS", 46 "PT_SETREGS",
 47
 48#endif /* _SH3_PTRACE_H_ */