gas: support for the sparc %ncc condition codes register.
[deliverable/binutils-gdb.git] / gdb / shnbsd-tdep.c
index 742798b2ad3211a2ccc0e9fabff247c50d5d271b..eb0b97ccaed9233d19037e7f7143490f77043ae9 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for NetBSD/sh.
 
-   Copyright (C) 2002-2013 Free Software Foundation, Inc.
+   Copyright (C) 2002-2015 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.037096 seconds and 4 git commands to generate.