CORE(4) RISC/os Reference Manual CORE(4)
NAME
core - format of memory image file
SYNOPSIS
#include <sys/param.h>
DESCRIPTION
The RICS/os system writes out a memory image of a terminated
process when any of various errors occur. See sigvec(2) for
the list of reasons; the most common are memory violations,
illegal instructions, bus errors, and user-generated quit
signals. The memory image is called `core' and is written
in the process's working directory (provided it can be; nor-
mal access controls apply).
The maximum size of a core file is limited. Files which
would be larger than the limit are not created.
The core file consists of the u. area, whose size (in pages)
is defined by the UPAGES manifest in the <sys/param.h> file.
The u. area starts with a user structure as given in
<sys/user.h>. The remainder of the core file consists first
of the data pages and then the stack pages of the process
image. The amount of data space image in the core file is
given (in pages) by the variable u_dsize in the u. area.
The amount of stack image in the core file is given (in
pages) by the variable u_ssize in the u. area. The size of
a ``page'' is given by the constant NBPG (also from
<sys/param.h>).
In general the debugger dbx(1) is sufficient to deal with
core images.
SEE ALSO
sigvec(2)
dbx(1) in the User's Reference Manual.
Printed 11/19/92 Page 1