emul_native is only used for kernel threads which can't dump core, so
authorguenther <guenther@openbsd.org>
Tue, 5 May 2015 02:13:46 +0000 (02:13 +0000)
committerguenther <guenther@openbsd.org>
Tue, 5 May 2015 02:13:46 +0000 (02:13 +0000)
commit2df12b22ee779d3f10995325e7cbd0d4be5705a0
tree138b193ca0c53306246987525363f7e1a9d082bf
parent1cf75e52296f4f2a33e06edb057043ed0fcfa754
emul_native is only used for kernel threads which can't dump core, so
delete coredump_trad(), uvm_coredump(), cpu_coredump(), struct md_coredump,
and various #includes that are superfluous.

This leaves compat_linux processes without a coredump callback.  If that
ability is desired, someone should update it to use coredump_elf32() and
verify the results...

ok kettenis@
40 files changed:
sys/arch/alpha/alpha/vm_machdep.c
sys/arch/alpha/include/pcb.h
sys/arch/amd64/amd64/hibernate_machdep.c
sys/arch/amd64/amd64/vm_machdep.c
sys/arch/amd64/include/pcb.h
sys/arch/arm/arm/vm_machdep.c
sys/arch/arm/include/pcb.h
sys/arch/armish/armish/armish_machdep.c
sys/arch/hppa/hppa/vm_machdep.c
sys/arch/hppa/include/pcb.h
sys/arch/hppa64/hppa64/vm_machdep.c
sys/arch/hppa64/include/pcb.h
sys/arch/i386/i386/vm_machdep.c
sys/arch/i386/include/pcb.h
sys/arch/loongson/loongson/hibernate_machdep.c
sys/arch/loongson/loongson/machdep.c
sys/arch/m88k/include/pcb.h
sys/arch/m88k/m88k/vm_machdep.c
sys/arch/mips64/include/pcb.h
sys/arch/mips64/mips64/vm_machdep.c
sys/arch/powerpc/include/pcb.h
sys/arch/powerpc/powerpc/vm_machdep.c
sys/arch/sh/include/pcb.h
sys/arch/sh/sh/sh_machdep.c
sys/arch/sh/sh/vm_machdep.c
sys/arch/sparc/include/pcb.h
sys/arch/sparc/sparc/vm_machdep.c
sys/arch/sparc64/include/pcb.h
sys/arch/sparc64/sparc64/vm_machdep.c
sys/arch/vax/include/pcb.h
sys/arch/vax/vax/vm_machdep.c
sys/arch/zaurus/zaurus/zaurus_machdep.c
sys/compat/linux/linux_exec.c
sys/ddb/db_structinfo.c
sys/kern/init_main.c
sys/kern/kern_sig.c
sys/sys/core.h
sys/sys/signalvar.h
sys/uvm/uvm_extern.h
sys/uvm/uvm_unix.c