1.4. Types of RealView Debugger expressions

As described in General command language syntax, the CLI requires that you enter commands in a form acceptable to the debugger. The components of these commands are expressions and statements. For more details on statements, see Using expressions and statements.

Table 1.1 shows many of the types of expressions accepted by the CLI. For each type, there is a cross-reference to a command in Chapter 2 RealView Debugger Commands where the syntax accepts that expression type.

Table 1.1. Types of CLI expressions

TypePattern/exampleUsage cross-reference
Arithmetical operation (value or address)x+(y*5)FILL
Array element reference (value or address)argv[1]

ARGUMENTS

Conditional expressionc==3BREAKINSTRUCTION
Floating-point expression3.14FPRINTF
Function name reference (code address)mainLIST
Line reference (code address)#line_numberSCOPE
Macro callmacro()ALIAS
Memory address&addressADD
Memory address(type *) expression-
Memory location0x8000BREAKREAD
Memory range expression0x100..0x200BREAKREAD
Qualified line (specifying source module)MODULE1\#12SCOPE
Stack level referencestack_levelSCOPE
String expression"string"FILL
Symbol reference (value or address)symbol_nameADD
Target connection referencetargetid targetnameCONNECT
Target program functionfunction()BREAKINSTRUCTION
Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0235B
Non-Confidential