Pass all subsequent arguments (specified by args) to the program specified by
filename. This option must be the last one on the command line.
Defined only on AIX, a synonym for the platform-independent -use_fast_wp, for TotalView script backward compatibility . See
-use_fast_wp for more information.You must set this option on the command line; you cannot set it interactively using the CLI.
Defined only on AIX, a synonym for the platform-independent -use_fast_trap, for TotalView script backward compatibility. See
-use_fast_trap for more information. You must set this option on the command line; you cannot set it interactively using the CLI.
Specifies filename as the executable to debug, with
args as optional arguments to pass to your program. This option must be listed last on the command line. You can also use
--args instead of
-args, for compatibility with other debuggers.
However, you can specify the -compiler_vars option to display these variables. This is useful when you are looking for a corruption of a run-time descriptor or are writing a compiler.
(Default) Catches the fork(),
vfork(), and
execve() system calls if your executable is linked with the
dbfork library.
Tells TotalView that it should not catch fork(),
vfork(), and
execve() system calls even if your executable is linked with the
dbfork library.
If consoleoutputfile is the string UNIQUE, the filename tv_dump.hostname.pid is used. If console_outputfile contains the string '$$' (note the escaping single quotes)
, hostname.pid is substituted. UNIQUE and '$$' are useful for separating the console output when running multiple tvdsvr processes.
Specifies a set of MPI ranks to be attached to when an MPI job is created or attached to. The subset_specification is a space-separated list, the elements of which can be in one of these forms:
rank1-ranks2: all ranks between rank1 and rank2 inclusive
rank1-rank2:stride: every stride
th rank between rank1 and rank2
A subset_specification that is the empty string (
"") is equivalent to
0-max.
The default_parallel_attach_subset is used to initialize the
parallel_attach_subset property of an MPI starter process, which can be
get or
set in the CLI using:
TV::process get dpid parallel_attach_subset
TV::process set dpid parallel_attach_subset subset_specification
The CLI dattach and
dload -parallel_attach_subset subset_specification overrides the
default_parallel_attach_subset and sets the
parallel_attach_subset property of the process being attached or loaded.
-demangler=compaq:
HP cxx on Linux (alpha)
-demangler=gnu:
GNU C++ on Linux Alpha
-demangler=gnu_dot:
GNU C++ on Linux x86
-demangler=gnu_v3: GNU C++ Linux x86
-demangler=kai3_n:
KAI C++ version 3.n
-demangler=spro:
SunPro C++ 4.0 or 4.2
-demangler=spro5:
SunPro C++ 5.0 or later
-demangler=sun:
Sun CFRONT C++
-demangler=xlc:
IBM XLC/VAC++ compilers
Set the name of the X Windows display to displayname. For example,
-display vinnie:0.0 will display TotalView on the machine named “vinnie.”
You can have more than one -e option on a command line.
-demangler=spro_f9x_4:
SunPro Fortran, 4.0 or later
If this option is set, TotalView will attempt to replace an opaque type (struct foo *p;) declared in one module, with an identically named defined type in a different module.
Specifies that TotalView cannot assume that type names are globally unique in a program. You should specify this option if your code has multiple different definitions of the same named type, since otherwise TotalView can use the wrong definition for an opaque type.
Tells TotalView that if a program or library has a .gnu_debug_link section, it should look for a
gnu_debug_link file. If found, TotalView reads the debugging information from this file.
Do not load information from a gnu_debug_link file even if the file has a
.gnu_debug_link section.
Tells TotalView that it should validate the gnu_debug_link file’s checksum against the checksum contained in the process’s
.gnu_debuglink section.
(Default) Loads action points automatically from the filename.TVD.v3breakpoints file, providing the file exists.
Loads into TotalView the session named in session_name. If the preference “Show Startup Parameters when TotalView starts” is set, this option launches the Session Manager’s Program Session screen where you can edit the session’s properties and then launch the session; otherwise, the option immediately loads the session into TotalView, launching the Root and Process windows. Session names with spaces must be enclosed in quotes, for example, "my debug session". Sessions that attach to an existing process cannot be loaded using this option; rather, use the
-pid option instead.
Same as -no_message_queue.
Names the MPI that your program requires. The list of starter names that you enter are those that appear in the Parallel system pull down list contained within the
New Program’s Parallel tab. If the starter name has more than one word (for example,
Open MPI), enclose the name in quotes. For example:
yes (default) Attaches to all processes in a parallel program, unless the process being launched or attached to has a non-empty
parallel_attach_subset property. In this case, only the subset of processes specified in the
parallel_attach_subset are attached.
no: Attaches to no processes in a parallel program.
ask Asks which processes to attach to by posting the subset attach dialog box if the debugger GUI is open.
This option works in concert with the parallel_attach_subset property (see
default_parallel_attach_subset) of an MPI starter process, which specifies a set of MPI tasks to attach to when the debugger launches or attaches to an MPI job.
Tells TotalView to attach to process pid for executable
filename when TotalView starts executing.
Debugs an executable that is not running on the same machine as TotalView. For hostname, you can specify a TCP/IP host name (such as
vinnie) or a TCP/IP address (such as
128.89.0.16). Optionally, you can specify a TCP/IP port number for
portnumber, such as
:4174. When you specify a port number, you disable the autolaunch feature. For more information on the autolaunch feature, see “
Setting Single Process Server Launch” in the
TotalView Users Guide.
You can add more than one -s option on a command line.
Debugs an executable that is not running on the same machine as TotalView. For device, specify the device name of a serial line, such as
/dev/com1. Currently, the only
option you are allowed to specify is the baud rate, which defaults to
38400. For more information on debugging over a serial line, see “
Debugging Over a Serial Line” in Chapter 4 of the
TotalView Users Guide.
An action_list consists of a list of
signal_action descriptions separated by spaces:
signal_action[ signal_action] ...
An action can be one of the following:
Error,
Stop,
Resend, or
Discard, For more information on the meaning of each action, see Chapter 3 of the
TotalView Users Guide.
A signal_specifier can be a signal name (such as
SIGSEGV), a signal number (such as 11), or a star (*), which specifies all signals. We recommend that you use the signal name rather than the number because number assignments vary across UNIX sessions.
(1) If you specify an action for a signal in an action_list, TotalView changes the default action for that signal.
(2) If you do not specify a signal in the action_list, TotalView does not change its default action for the signal.
Here’s how to set the action for SIGSEGV and
SIGBUS to error, the action for
SIGHUP to resend, and all remaining signals to stop:
Same as -signal_handling_mode.
Tells TotalView to pass arguments to the starter program. You can omit the quotation marks if
arguments is just one string without any embedded spaces.
Names the file to which TotalView writes the target program’s stderr information while executing within TotalView. If the file exists, TotalView overwrites it. If the file does not exist, TotalView creates it.
Tells TotalView to append the target program’s stderr information to the file named in the
-stderr command, specified in the GUI, or in the TotalView
TV::default_stderr_filename variable. If the file does not exist, TotalView creates it.
Names the file to which TotalView writes the target program’s stdout information while executing within TotalView. If the file exists, TotalView overwrites it. If the file does not exist, TotalView creates it.
Tells TotalView to append the target program’s stdout information to the file named in the
-stdout command, specified in the GUI, or in the TotalView
TV::default_stdout_filename variable. If the file does not exist, TotalView creates it.
Sets the verbosity level of TotalView messages to level, which may be one of
silent,
error,
warning, or
info.
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.
TotalView® Version 8.13