The operation of this command depends on what the target is:


This command sets the PC register to the entry point address previously recorded by the load, loadfile, or file command and starts running the target. Subsequent run commands also reload the executable image if it follows a previous load operation.

Linux application

This command sends a request to the server to restart the application and then start running it.


Control is returned as soon as the target is running. You can use the wait command to block the debugger from returning control until either the application completes or a breakpoint is hit.


run [args]



Specifies the command-line arguments that are passed to the main() function in the application using the argv parameter. The name of the image is always implicitly passed in argv[0] and it is not necessary to pass this as an argument to the run command.


Example 94. run

run                                   # Start running the device

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0452J