Added support for x86_64 ramdump files. Without the patch, the crash

session fails immediately with the message "ramdump: unsupported
machine type: X86_64".
(anderson@redhat.com)
This commit is contained in:
Dave Anderson 2016-05-04 14:34:53 -04:00
parent 7eb61b3e7b
commit 67a815b874

View File

@ -186,6 +186,8 @@ char *ramdump_to_elf(void)
e_machine = EM_AARCH64;
else if (machine_type("MIPS"))
e_machine = EM_MIPS;
else if (machine_type("X86_64"))
e_machine = EM_X86_64;
else
error(FATAL, "ramdump: unsupported machine type: %s\n",
MACHINE_TYPE);