gdb now checks the size of the core register section, so pacify the

warning in corelow.c by providing the expected size.
This commit is contained in:
uwe 2016-03-09 20:55:22 +00:00
parent 2a67b893e9
commit 07495c9005

View File

@ -203,11 +203,10 @@ shnbsd_init_abi (struct gdbarch_info info,
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
tdep->core_gregmap = (struct sh_corefile_regmap *)gregs_table;
tdep->sizeof_gregset = 88;
tdep->core_fpregmap = (struct sh_corefile_regmap *)fpregs_table;
#if 0
tdep->core_gregmap = (struct sh_corefile_regmap *)regmap;
tdep->sizeof_gregset = 84;
#endif
tdep->sizeof_fpregset = 0; /* XXX */
set_solib_svr4_fetch_link_map_offsets
(gdbarch, nbsd_ilp32_solib_svr4_fetch_link_map_offsets);