X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=gdb%2Fshnbsd-tdep.c;h=a81c2a1f73af3716d56222575ae8b92f22015fad;hb=8527d542c07f6bea86fe5baf3b31568c7fba1398;hp=5512b10dcfa626aa8f11f82409ea50ba9791fd97;hpb=0b30217134add051e159a192066a1e568ebd837f;p=platform%2Fupstream%2Fbinutils.git diff --git a/gdb/shnbsd-tdep.c b/gdb/shnbsd-tdep.c index 5512b10..a81c2a1 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-2014 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);