Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ corex(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

adb(CP)

codeview(CP)

core(FP)

dbxtra(CP)

dbXtra(CP)

sdb(CP)

sigaction(S)

stty(C)

termio(M)


 corex(C)               3.2v5/MSv4.2"  06 January 1993               corex(C)


 Name

    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.

 See also

    adb(CP), codeview(CP), core(FP), dbxtra(CP), dbXtra(CP), sdb(CP),
    sigaction(S), stty(C) and termio(M).

 Notes

    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.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026