1*b725ae77Skettenis /* Native-dependent definitions for NetBSD/sparc.
2*b725ae77Skettenis 
3*b725ae77Skettenis    Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1999, 2000, 2002,
4*b725ae77Skettenis    2003, 2004 Free Software Foundation, Inc.
5e93f7393Sniklas 
6e93f7393Sniklas    This file is part of GDB.
7e93f7393Sniklas 
8e93f7393Sniklas    This program is free software; you can redistribute it and/or modify
9e93f7393Sniklas    it under the terms of the GNU General Public License as published by
10e93f7393Sniklas    the Free Software Foundation; either version 2 of the License, or
11e93f7393Sniklas    (at your option) any later version.
12e93f7393Sniklas 
13e93f7393Sniklas    This program is distributed in the hope that it will be useful,
14e93f7393Sniklas    but WITHOUT ANY WARRANTY; without even the implied warranty of
15e93f7393Sniklas    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16e93f7393Sniklas    GNU General Public License for more details.
17e93f7393Sniklas 
18e93f7393Sniklas    You should have received a copy of the GNU General Public License
19e93f7393Sniklas    along with this program; if not, write to the Free Software
20*b725ae77Skettenis    Foundation, Inc., 59 Temple Place - Suite 330,
21*b725ae77Skettenis    Boston, MA 02111-1307, USA.  */
22*b725ae77Skettenis 
23*b725ae77Skettenis #ifndef NM_NBSD_H
24*b725ae77Skettenis #define NM_NBSD_H
25e93f7393Sniklas 
26e93f7393Sniklas /* Get generic NetBSD native definitions.  */
27*b725ae77Skettenis #include "config/nm-nbsd.h"
28*b725ae77Skettenis 
29e93f7393Sniklas 
30*b725ae77Skettenis /* Support for StackGhost cookies.  */
31*b725ae77Skettenis 
32*b725ae77Skettenis #include "target.h"
33*b725ae77Skettenis struct target_ops;	/* Fool ARI.  */
34*b725ae77Skettenis 
35*b725ae77Skettenis #define NATIVE_XFER_WCOOKIE sparc_xfer_wcookie
36*b725ae77Skettenis extern LONGEST sparc_xfer_wcookie (struct target_ops *ops,
37*b725ae77Skettenis 				   enum target_object object,
38*b725ae77Skettenis 				   const char *annex,
39*b725ae77Skettenis 				   void *readbuf, const void *writebuf,
40*b725ae77Skettenis 				   ULONGEST offset, LONGEST len);
41*b725ae77Skettenis 
42*b725ae77Skettenis #endif /* nm-nbsd.h */
43