Command line options

When you start MULTI from the command line on an executable program file (i.e. when you want to use the Debugger directly), then the following options may be used. Some of these options should not be used when starting MULTI on a build file, or when starting MULTI without a file.

-c file

Reads configuration information from file.

-C corefile

Sets core file. corefile is assumed to be a core image of objectfile.

-D

Ignores all currently specified alternate directories.

-data offset

Offsets for all data addresses. This is for position independent data. The offset is entered in decimal by default. A hexadecimal number may be specified by preceding the number with 0x. For example, 0x10000.

-dotciscxx

Treats files ending in .c as C++ files instead of C files.

-e entry

Specifies entry label. The default is main. In C++ mode, the entry must be specified in such a way that it may be demangled.

-E file

Tells MULTI to debug more than one file. Use this option for each file you wish to debug at the same time. For example, if you want to debug foo, bar, and rin, then type:

multi foo -E bar -E rin

-help

Runs MULTI and opens the on-line help system with the MULTI manual.

-I directory

Names an alternate directory where files are searched for. Alternate directories are searched in the order given. If a file is not found in an alternate, the current directory is searched.

-L[cpfC]

Sets language type (C, Pascal, FORTRAN, or C++ respectively). By default, MULTI uses the file name extension to determine the language.

-m file

Uses file as default specification file. See "Specification file" for more information.

-nocfg

Does not read any of MULTI's .cfg files on startup.

-norc

Does not run any .rc files on startup.

-noshared

Does not debug shared libraries.

-nosplash

Does not open the About banner. See "About MULTI..." for more information.

-p file

Startup with command playback from file.

-P pid

Attaches to process with process id pid. This option is currently for Solaris only.

-r file

Startup with commands recording to file.

-R file

Startup with commands and output recording to file.

-rc file

Reads file as a command script when the first debugger window appears. The file is read after the global and user script files.

-remote target

Attaches to remote debug server with name target.

-text offset

Offsets for all text addresses. This is for position independent code. The offset is entered in decimal by default. A hexadecimal number may be specified by preceding the number with 0x. For example, 0x10000.

-V

Prints debugger version information.

Related topic:


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.