.he 'CORE (V)'2/7/73'CORE (V)'
NAME format of core image
writes out a core image of a terminated
process when any of various errors occur.
See wait
\b\b\b\b____(II) for the list of reasons;
the most common are memory violations, illegal
instructions, bus errors, and user-generated
The core image is called "core" and is written in the process's
working directory (provided it can be; normal
The size and structure of the core image file
depend to some extent on which system is involved.
In general there is a 512-byte area
at the end which contains the system's per-process
(64 bytes in older systems). The
remainder represents the actual contents of
the user's core area when the core image
this area is variable in size in that only the locations
from user 0 to the program break, plus the stack, are
When any fatal trap occurs,
all the useful registers are stored on the stack.
In the current system, which has relocation and protection
hardware, the stack used is the system
stack, which is kept in the per-process area;
there is only one stack, and it is located in the
The actual format of the information is complicated
because it depends on what hardware is present (EAE,
whether single- or double-precision
floating mode is in effect,
and also involves relocating addresses in the
A guru will have to be consulted
if enlightenment is required.
be used to deal with core images.