|
|
Core image files, resulting from fatal system errors can be examined through adb. Core image files contain the contents of the CPU registers, stack, and memory areas of the program at the time the error occurred.
To examine a core image file with its corresponding
program, provide both the core
and the program file names. If no
corefile name is provided, adb searches
for the default core image file core in the current directory
and uses it regardless of whether or not it
belongs to the program.
If the default core image file is used adb will issue a
warning that the core image file does not match the object file.
In the following example the programfile
is the filename of the program causing the error and
corefile is the filename of the
core image file generated by the system:
adb programfile corefile
To prevent adb from opening the default core image file, use a hyphen (-) in place of the core filename. For example:
adb sample -