The grun Utility Program remotely executes a program using a MULTI debug server to control the execution environment.
grun [options] dbserv_cmd -- program [arguments]
options Specific grun options, listed below.
dbserv_cmd Name of a MULTI debug server.
-- Double dash separates debug server name from program name.
program Name of executable program.
arguments Optional program command line arguments.
Display information about all options.
Specifies addr as the starting address of the program's text (code). This is appropriate for Position Independent Code (PIC) programs.
Specifies addr as the starting address of the program's data. This is appropriate for Position Independent Data (PID) programs.
Specifies addr as the initial value for the program's stack pointer.
Causes grun to immediately terminate after downloading the program to the target system. grun usually engages in communication with the debug server before exiting, which may halt an executing target program. This switch is frequently used with various target monitors or Boot ROMs when the program being downloaded will take the control of the target system and terminate the target monitor.
Causes the program to be downloaded, but does not start it running.
Like -profile, but also translates the profiling data.
Executes the target program with profiling enabled.
The grun utility downloads and starts the executable program, subject to the options above. If the -bail flag is specified, grun exits immediately after starting the program. Otherwise, grun waits for target program completion before exiting. grun will wait until 10 minutes with no I/O. After that time, or if grun is interrupted by the user, it halts the target program and exits. While grun is running, its standard input and output are copied to and from the executing program, redirecting the program's I/O to the user's terminal.