DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

corex(C)


corex -- convert new-style core image dumps to old-style

Syntax

corex [ input [ output ]]

Description

The Operating System writes a core(FP) 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.

Limitations

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.

See also

adb(CP), core(FP), dbxtra(CP), dbXtra(CP), sdb(CP), sigaction(S), stty(C), termio(M)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003