| |||
| Home > RealView Debugger Commands > Alphabetical command reference > SYNCHEXEC | |||
Controls how connections and threads run, step, and stop together.
SYNCHEXEC [,run]
[,step] [,stop] [{,all | [=]connections}]
SYNCHEXEC,remove
{,all | [=]connections}
where:
run, , step, , stopQualifiers that you can specify in any combination to define the operations to synchronize. If you do not supply a qualifier, all operations are assumed.
removeRemoves the connections from the synchronized group.
allIndicates all existing connections.
connectionsA comma-separated list of connection identifier strings, of the form:
"connection-id" [,"connection-id",...]
where:
connection-idThe 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.
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.
The following examples show how to use SYNCHEXEC:
synchexec,rem,allUnsynchronize all processors.
synchexec,step,run,stop
@ARM_Cortex-A8_0@ISSM,@ARM_Cortex-A8_0@ISSM_1,@ARM940T_0Synchronize 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,allSynchronizes all available target connections on step, stop and run.
the following in the RealView Debugger User Guide: