2.3.156. WAIT

Tells the debugger whether to wait for a command to complete before permitting another command to be issued.

Syntax

WAIT = [{ON | OFF}]

where:

ON

specifies that all following commands are to run synchronously.

OFF

specifies that following commands run according to their default behavior. This is the default.

Description

The WAIT command makes commands run synchronously. If WAIT is not used, commands use their default behavior.

All commands run from a macro run synchronously unless WAIT is set OFF.

Note

This command requires that RealView Debugger is connected to a debug target.

Examples

The following examples show how to use WAIT:

  • The following commands cause the debugger to fill memory synchronously, forcing you to wait until the fill is complete before accepting another command:

    wait on
    fill/b 0x8000..0x9FFF =0
    wait off
    
  • In the following example, the CEXPRESSION command runs when the target next stops running (for example, if the breakpoint is hit):

    load /pd/r dhrystone.axf
    breakexecution main
    wait on
    go
    wait off
    cexpression @r0
    

See also

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