Remove unnecessary null_cleanup
[deliverable/binutils-gdb.git] / gdb / shnbsd-tdep.c
index 742798b2ad3211a2ccc0e9fabff247c50d5d271b..b5c70ef91c3b61cb82f263770f7210fa48a8d55d 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for NetBSD/sh.
 
-   Copyright (C) 2002-2013 Free Software Foundation, Inc.
+   Copyright (C) 2002-2016 Free Software Foundation, Inc.
 
    Contributed by Wasabi Systems, Inc.
 
@@ -25,8 +25,6 @@
 #include "value.h"
 #include "osabi.h"
 
-#include <string.h>
-
 #include "sh-tdep.h"
 #include "solib-svr4.h"
 
@@ -66,6 +64,7 @@ shnbsd_init_abi (struct gdbarch_info info,
   struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
 
   tdep->core_gregmap = (struct sh_corefile_regmap *)regmap;
+  tdep->sizeof_gregset = 84;
 
   set_solib_svr4_fetch_link_map_offsets
     (gdbarch, svr4_ilp32_fetch_link_map_offsets);
This page took 0.024351 seconds and 4 git commands to generate.