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