diff options
Diffstat (limited to 'gdb/config/sparc/nm-nbsd.h')
-rw-r--r-- | gdb/config/sparc/nm-nbsd.h | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/gdb/config/sparc/nm-nbsd.h b/gdb/config/sparc/nm-nbsd.h index 7ffd72e9101..c64f505c63d 100644 --- a/gdb/config/sparc/nm-nbsd.h +++ b/gdb/config/sparc/nm-nbsd.h @@ -1,6 +1,7 @@ -/* Native-dependent definitions for Sparc running NetBSD, for GDB. - Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1999, 2000, 2002 - Free Software Foundation, Inc. +/* Native-dependent definitions for NetBSD/sparc. + + Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1999, 2000, 2002, + 2003, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -22,14 +23,20 @@ #ifndef NM_NBSD_H #define NM_NBSD_H -#include "regcache.h" - -/* Get generic NetBSD native definitions. */ - +/* Get generic NetBSD native definitions. */ #include "config/nm-nbsd.h" + + +/* Support for StackGhost cookies. */ -/* Before storing, we need to read all the registers. */ +#include "target.h" +struct target_ops; /* Fool ARI. */ -#define CHILD_PREPARE_TO_STORE() deprecated_read_register_bytes (0, NULL, DEPRECATED_REGISTER_BYTES) +#define NATIVE_XFER_WCOOKIE sparc_xfer_wcookie +extern LONGEST sparc_xfer_wcookie (struct target_ops *ops, + enum target_object object, + const char *annex, + void *readbuf, const void *writebuf, + ULONGEST offset, LONGEST len); -#endif /* NM_NBSD_H */ +#endif /* nm-nbsd.h */ |