@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#define _KERNTYPES
#include "defs.h"
#include "inferior.h"
#include "regcache.h"
@@ -63,7 +64,7 @@
}
}
-void
+static void
supply_gregset (struct regcache *regcache, const gregset_t *gregs)
{
if (ptrace (PT_SETREGS, ptid_get_pid (inferior_ptid),
@@ -71,7 +72,7 @@
perror_with_name (_("Couldn't write registers"));
}
-void
+static void
fill_gregset (const struct regcache *regcache, gregset_t *gregs, int regnum)
{
if (ptrace (PT_GETREGS, ptid_get_pid (inferior_ptid),
@@ -2,7 +2,7 @@
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */
-/* generated for vax--netbsdelf-gcc (NetBSD nb1 20141012) 4.8.4 20141009 (prerelease) */
+/* generated for vax--netbsdelf-gcc (NetBSD nb1 20160317) 5.3.0 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1
@@ -2,7 +2,7 @@
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */
-/* generated for vax--netbsdelf-gcc (NetBSD nb1 20141012) 4.8.4 20141009 (prerelease) */
+/* generated for vax--netbsdelf-gcc (NetBSD nb1 20160317) 5.3.0 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1
@@ -219,7 +219,7 @@
#define HAVE_INTTYPES_H 1
/* Define to 1 if your system has the kinfo_getvmmap function. */
-/* #undef HAVE_KINFO_GETVMMAP */
+#define HAVE_KINFO_GETVMMAP 1
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#define HAVE_LANGINFO_CODESET 1