diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-02-04 21:49:58 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-02-04 21:49:58 +0000 |
commit | baf92889ebd77dceec279733db08e537eefbff49 (patch) | |
tree | 46f836a0e5e0b0fe877ce37226f1c6ac3bb60282 /gdb/config/sparc | |
parent | 6e4c6c91defcde7bd46625742b7df8108e8d597f (diff) | |
download | gdb-baf92889ebd77dceec279733db08e537eefbff49.zip gdb-baf92889ebd77dceec279733db08e537eefbff49.tar.gz gdb-baf92889ebd77dceec279733db08e537eefbff49.tar.bz2 |
* target.h (target_object): Add TARGET_OBJECT_WCOOKIE.
* inftarg.c: Update copyright year.
(child_xfer_partial): Add support for TARGET_OBJECT_WCOOKIE.
* sparc-nat.c: Include "target.h" and "gdb_assert.h".
(sparc_xfer_wcookie): New function.
* sparc-tdep.c (sparc_fetch_wcookie): New function.
* Makefile.in (sparc-nat.o): Update dependencies.
* config/sparc/nm-nbsd.h: Include "target.h".
(NATIVE_XFER_WCOOKIE): New define.
(sparc_xfer_wcookie): New prototype.
Diffstat (limited to 'gdb/config/sparc')
-rw-r--r-- | gdb/config/sparc/nm-nbsd.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/config/sparc/nm-nbsd.h b/gdb/config/sparc/nm-nbsd.h index 089a5ac..5e05234 100644 --- a/gdb/config/sparc/nm-nbsd.h +++ b/gdb/config/sparc/nm-nbsd.h @@ -25,5 +25,17 @@ /* Get generic NetBSD native definitions. */ #include "config/nm-nbsd.h" + + +/* Support for StackGhost cookies. */ + +#include "target.h" + +#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 */ |