Module Name: src Committed By: uwe Date: Wed Mar 9 20:55:22 UTC 2016
Modified Files: src/external/gpl3/gdb/dist/gdb: shnbsd-tdep.c Log Message: gdb now checks the size of the core register section, so pacify the warning in corelow.c by providing the expected size. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gdb/dist/gdb/shnbsd-tdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gdb/dist/gdb/shnbsd-tdep.c diff -u src/external/gpl3/gdb/dist/gdb/shnbsd-tdep.c:1.12 src/external/gpl3/gdb/dist/gdb/shnbsd-tdep.c:1.13 --- src/external/gpl3/gdb/dist/gdb/shnbsd-tdep.c:1.12 Sun Aug 16 09:58:29 2015 +++ src/external/gpl3/gdb/dist/gdb/shnbsd-tdep.c Wed Mar 9 20:55:22 2016 @@ -203,11 +203,10 @@ shnbsd_init_abi (struct gdbarch_info inf 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);