2.3.135. SYNCHEXEC

Controls how connections and threads run, step, and stop together.

Syntax

SYNCHEXEC [,run] [,step] [,stop] [{,all | [=]connections}]

SYNCHEXEC,remove {,all | [=]connections}

where:

run, , step, , stop

Qualifiers that you can specify in any combination to define the operations to synchronize. If you do not supply a qualifier, all operations are assumed.

remove

Removes the connections from the synchronized group.

all

Indicates all existing connections.

connections

A comma-separated list of connection identifier strings, of the form:

"connection-id" [,"connection-id",...]

where:

connection-id

The connection name. If the targets have unique names, then you have only to use the target name. Otherwise, you must also specify the Debug Configuration name.

Description

The SYNCHEXEC command controls how RealView Debugger controls multiple target processors. The initial state is that every target processor is controlled independently. Therefore, stopping or starting a program on one processor only affects other processors if there is a link between the processors.

If you require RealView Debugger to stop or start several target processors together, you use this command to link them into a synchronized execution group. You can choose whether this group applies to single stepping, to free-running, or to stopping (in the sense of a user-initiated halt), independently.

Examples

The following examples show how to use SYNCHEXEC:

synchexec,rem,all

Unsynchronize all processors.

synchexec,step,run,stop @ARM_Cortex-A8_0@ISSM,@ARM_Cortex-A8_0@ISSM_1,@ARM940T_0

Synchronize the following target connections on step, stop and run:

  • ARM_Cortex-A8_0, available on the ISSM Debug Configuration

  • ARM_Cortex-A8_0, available on the ISSM_1 Debug Configuration

  • ARM940T_0 (no Debug Configuration is specified, because no other connection exists with this name).

synchexec,all

Synchronizes all available target connections on step, stop and run.

See also

Copyright © 2002-2010 ARM Limited. All rights reserved.ARM DUI 0175M
Non-ConfidentialID102410