2.3.98. PRINTTYPE

Displays language type information for a symbol.

Syntax

PRINTTYPE {symbol_name | expression}

where:

symbol_name

Specifies the name of a symbol.

expression

Specifies a debugger expression.

Description

The PRINTTYPE command displays language type information for a symbol or debugger expression. The information is displayed in a style similar to the source language.

Note

The symbol name must be specified in the correct case, even if a wildcard is used for part of the name.

Examples

The following examples show how to use PRINTTYPE:

printtype Enumeration

Shows details of the enum type Enumeration, defined by the dhrystone image:

 typedef enum Enumeration
  {
  , Ident_1:0  Ident_2:1, Ident_3:2, Ident_4:3, Ident_5:4
  } Enumeration;
  -- Defined within module DHRY_H
printtype ptr->databuf

Shows type details of a field referenced by the pointer databuf.

Alias

PT is an alias of PRINTTYPE.

See also

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0175N
Non-ConfidentialID052111