prlcore2dmp
The prlcore2dmp utility can be used to convert an ELF dump file created with the prlctl debug-dump command to a Windows or OS X format. A resulting Windows compatible file can be opened in the WinDbg debugger. An OS X compatible file can be opened in the LLDB debuger.
Syntax
prlcore2dmp core_file_path [--name output_file_name] [--path output_directory] [--windbg] [--macho] [--cpu]
Parameters
Name
|
Description
|
core_file_path
|
Path to the source dump file.
|
--name
|
Destination file name. If not specified, the memory.dmp name is used.
|
--path
|
Destination directory. If not specified, the file is created in the source directory.
|
--windbg
|
Convert for WinDbg (Windows).
|
--macho
|
Convert for LLDB (OS X Mach-O format).
|
--cpu
|
The CPU number to use for virtual to physical address translation. This option can be used only with the --macho option.
|
Remarks
The command returns 0 (zero) on success and a non-zero value on failure.
Examples
The following command creates the /tmp/memory.dmp file which can be opened with WinDbg.
prlcore2dmp /tmp/crash_D1.dmp --windbg
The following command creates the ~/Documents/core_dump.dmp file which can be opened with LLDB.
prlcore2dmp /tmp/crash_D1.dmp --macho --cpu 1 --name core_dump.dmp --path ~/Documents
|