X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fshnbsd-tdep.c;h=b5c70ef91c3b61cb82f263770f7210fa48a8d55d;hb=d1a760cbb796b62f18ff6b81a189fd261809ef74;hp=5512b10dcfa626aa8f11f82409ea50ba9791fd97;hpb=0b30217134add051e159a192066a1e568ebd837f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/shnbsd-tdep.c b/gdb/shnbsd-tdep.c index 5512b10dcf..b5c70ef91c 100644 --- a/gdb/shnbsd-tdep.c +++ b/gdb/shnbsd-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for NetBSD/sh. - Copyright (C) 2002-2003, 2006-2012 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 "gdb_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);