dlappend
Appends list elements to a TotalView variable
Format:
dlappend variable-name value [ ... ]
Arguments:
variable-name
The variable to which values are appended.
value
The values to append.
Description:
The dlappend command appends list elements to a TotalView variable. This command performs the same function as the Tcl lappend command, differing in that dlappend does not create a new debugger variable. That is, the following Tcl command creates a variable named foo:
lappend foo 1 3 5
In contrast, the CLI command displays an error message:
dlappend foo 1 3 5
Examples:
dlappend TV::process_load_callbacks my_load_callback
Adds the
my_load_callback function to the list of functions in the
TV::process_load_callbacks variable.