LX51 User's Guide

PRINTCONTROLS Linker Directive

Abbreviation

PC

Arguments

PRINTCONTROLS (option 〚, ...〛)

Default

No debug information is excluded from the listing file.

µVision

Options — Listing — Linker Listing.

Description

The PRINTCONTROLS directive excludes debug information from the listing file. The specified option(s) may be one or more of the following:

OptionDebug Information Removed
NOCOMMENTS1Comment records.
NOLINES1Line number information.
NOPUBLICS1Public symbol information.
NOSYMBOLS1Local symbol information.
PURGE1Complete debug information.

1. Abbreviations are underlined.

Note

  • This directive removes debug information from the listing file only. To remove debug information from the object file, refer to the OBJECTCONTROLS directive.
See Also

NOCOMMENTS, NOLINES, NOPUBLICS, OBJECTCONTROLS, PURGE

Example

The following example excludes all debug information from the linker map file. Debug information is included in the output file.

LX51 file1.obj PRINTCONTROLS (PURGE)

The following example excludes line number information and local debug symbols from the linker map file.

LX51 file2.obj PC (NOLI, NOSYMBOLS)