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:
parent
2a67b893e9
commit
07495c9005
7
external/gpl3/gdb/dist/gdb/shnbsd-tdep.c
vendored
7
external/gpl3/gdb/dist/gdb/shnbsd-tdep.c
vendored
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user