Remove unnecessary null_cleanup
[deliverable/binutils-gdb.git] / gdb / shnbsd-tdep.c
index 18a2a739771d5b4637a30a0ed1553d8ff712033f..b5c70ef91c3b61cb82f263770f7210fa48a8d55d 100644 (file)
@@ -1,7 +1,6 @@
 /* Target-dependent code for NetBSD/sh.
 
-   Copyright (C) 2002, 2003, 2006, 2007, 2008, 2009
-   Free Software Foundation, Inc.
+   Copyright (C) 2002-2016 Free Software Foundation, Inc.
 
    Contributed by Wasabi Systems, Inc.
 
@@ -26,8 +25,6 @@
 #include "value.h"
 #include "osabi.h"
 
-#include "gdb_string.h"
-
 #include "sh-tdep.h"
 #include "solib-svr4.h"
 
@@ -67,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.025115 seconds and 4 git commands to generate.