This patch series imports registers saving code from linux kernel. Just now it makes possible to dump registers state on exception; this dump is very valuable for debugging purposes. [PATCH 1/2] MIPS: add asm-offsets.h generation [PATCH 2/2] MIPS: import exception registers saving from linux kernel