forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user