/* Native-dependent code for AMD64.
- Copyright (C) 2003, 2004, 2007, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2003-2022 Free Software Foundation, Inc.
This file is part of GDB.
/* Return whether the native general-purpose register set supplies
register REGNUM. */
-extern int amd64_native_gregset_supplies_p (int regnum);
+extern int amd64_native_gregset_supplies_p (struct gdbarch *gdbarch,
+ int regnum);
/* Supply register REGNUM, whose contents are store in BUF, to
REGCACHE. If REGNUM is -1, supply all appropriate registers. */
extern void amd64_collect_native_gregset (const struct regcache *regcache,
void *gregs, int regnum);
-/* Create a prototype *BSD/amd64 target. The client can override it
- with local methods. */
-
-extern struct target_ops *amd64bsd_target (void);
-
#endif /* amd64-nat.h */