Keil Logo

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:

Option Debug Information Removed
NOCOMMENTS1 Comment records.
NOLINES1 Line number information.
NOPUBLICS1 Public symbol information.
NOSYMBOLS1 Local symbol information.
PURGE1 Complete 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)
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.