convert new-style core image dumps to old-style
corex [ input [ output ]]
The Operating System writes a
dump of a terminated process when various errors occur;
the most common are a user-generated QUIT
signal (typically the <Ctrl>\ key) and program logic mistakes.
The format of the core file dumped has changed;
the corex command converts new-style to old-style.
The optional input argument is the name of the new-style
core file to convert;
output is the name of the converted core file.
The default input is ``core'' and the default
output is input with a ``.old'' suffix appended.
The output file can be specified only if an
input file is specified; the input and output
files must not refer to the same file.
The new-style core files should work with most debuggers,
including those which only have knowledge of the old-style.
Since the new-style contains additional information and uses
a slightly different arrangement,
in some circumstances such debuggers may not work properly
with a new-style core file.
When such a debugger does not seem to be working,
converting the new-style core file to an old-style using
corex should solve the problem.
However, converted core
files are indistinguishable from genuine old-style ones so in
some circumstances such conversion may not solve the
problem. An updated debugger should then be procured.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003