| |||
| Home > The RealView Debugger Environment > Starting RealView Debugger from the command line > Syntax of the rvdebug command | |||
The syntax for starting RealView Debugger at the command-line is as follows:
rvdebug [-b|-cmd][-install= pathname][-user=name][-home[=]pathname] [-aws=pathname|-aws=-][-init[=]connection [-exec[=]image_pathname]] [-inc[=]pathname][-jou[=]pathname][-log[=]pathname][-stdiolog[=]pathname] [-nologo]
where:
-awsRuns a RealView Debugger session with the specified workspace. This overrides any workspace specification that was stored when the previous session ended.
Use -aws=- to start without a workspace.
-batchRuns a RealView Debugger session in batch mode, that is without any user interaction.
Use this with -inc to run a script file
containing commands.
Can be replaced with -b.
Do not use -batch without -inc.
If you do, RealView Debugger runs as a hidden process, and you have to
use the Task Manager to terminate the rvdebug process
on Windows, or kill the rvdebug process on Sun
Solaris or Red Hat Linux.
-cmdRuns the RealView Debugger in command line mode, where
you can use RealView Debugger CLI commands to carry out debugging tasks.
This enables you to interact with the debugger without using the RealView Debugger GUI.
See the RealView Debugger v3.0 Command Line Reference
Guide for detailed information on the RealView Debugger CLI commands.
-execSpecifies the image to be loaded when RealView Debugger runs. The image specification can also include section details and image arguments, and has the format:
-exec[=] "image[;sections][;arguments]"
where:
is
the image name, and path if requiredimage
is
a comma-separated list of sectionssections
is
a space-separated list of argumentsarguments
= is optional.
You can optionally use -init to specify a
connection when loading an image in this way. If you omit -init,
then RealView Debugger can either save a connection in the workspace (see CONNECTION), or display
a prompt asking if you want to defer the load until a connection is
available.
-homeSpecifies a RealView Debugger home directory used for the
debugging session. You can optionally include =,
for example -home=.
If the specified directory does not exist, a new one is created.
Where this is not specified, the default directory is used.homedir
This option is only available under Windows. On Sun Solaris
and Red Hat Linux platforms, RealView Debugger uses $HOME/rvd for
its home directory. This can be overridden by specifying a new home
directory using the $RVDEBUG_HOME environment
variable (see Setting user-defined
environment variables).
See Defining the home directory on Windows for details.
-incRuns a specified script file that contains RealView Debugger commands. You
can optionally include =.
Use -inc in:
Batch
mode in association with the -batch setting,
to execute the commands contained in the script file and then exit
the debugger.
Command-line mode in association with the -cmd setting,
to execute the commands contained in the script file. If the script
file does not force RealView Debugger to exit, then the RealView Debugger displays
the CLI prompt ready for you to continue debugging.
GUI mode (that is, without -batch and -cmd),
to execute the commands contained in the script file during a debugging
session. If the script file does not force RealView Debugger to exit, then
the RealView Debugger Code window remains open ready for you to continue
debugging.
For more details, see Chapter 14 Debugging with Command Scripts.
-initSpecifies
the connection to establish when RealView Debugger runs. You can optionally
include =, for example -init=.
This option requires that you specify the connection using the named
connection format:connection
@target_device@Target_Access
For example, @new_arm@localhost for RealView ARMulator® ISS (RVISS).
-installSpecifies the installation directory where this differs from the default installation. This must point to the following directory:
install_directory\RVD\Core\...\platform
On Windows systems, this is then used to define the location of the default RealView Debugger home directory when the debugger runs for the first time.
This overrides the environment variable RVDEBUG_INSTALL,
and must be used if RVDEBUG_INSTALL is not set.
-jouRuns a RealView Debugger session with the specified journal
file open for writing. You can optionally include =,
for example -jou=.
Can be replaced with filename-j.
See Types of log and journal files for more details about journal files.
-logRuns a RealView Debugger session with the specified log
file open for writing. You can optionally include =,
for example -log=.
Can be replaced with filename-l.
See Types of log and journal files for more details about log files.
-nologoRuns a RealView Debugger session without displaying a splash screen.
-stdiologRuns a RealView Debugger session with the specified STDIOlog
file open for writing. You can optionally include =,
for example -stdiolog=.
Can be replaced with filename-s.
See Types of log and journal files for more details about log files.
-userSpecifies the user ID in the RealView Debugger home directory used for the debugging session. This argument is available only on Windows platforms. Where this argument is not specified, the default Windows login is used.
See Defining the home directory on Windows for details.