Subject: core dumps
To: None <port-masters@sun-lamp.cs.berkeley.edu, tech-kern@sun-lamp.cs.berkeley.edu>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: tech-kern
Date: 05/25/1994 16:44:34
The core dump format has changed. In stead of only dumping the stack and
the data segment up to the current break, the whole process address space
is now traversed for writable segments. Each such segment is preceeded in
the core file by a segment header giving its size, virtual address and
type (`data' or `stack'). There's also processor dependent segment
(type `cpu') containing the registers and such.
The interface to cpu_coredump() has changed to take a fourth argument, a
pointer to a `struct core', which is to be filled in with machine dependent
magic and sizes (see <sys/core.h> for details). If this header is not touched,
a traditional dump is done by coredump() in kern_sig.c.
-pk
------------------------------------------------------------------------------