This patch adds support for debugging core-files on SH Linux targets. I've added code to read both the general-purpose registers, and the floating point registers from core files. This code is adapted from the SH NBSD files. OK? Andrew