Next to live debugging the crash also save a crash dump.

On Solaris we already save the crash dump using gcore so we can do
postmortem debugging. We now also try this on other platforms so we can
do postmortem debugging on those platforms.