Sync the core dump routine with hp300; generates correct coredumps again.
Sync the core dump routine with hp300; generates correct coredumps again.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars