define
Specifies a user-defined sequence of commands.
Syntax
define command-name { command1 command2 ... }
end
- command-name is the name assigned to the command sequence.
- command is a valid debugger command.
end
indicates the end of the command sequence.
Usage
The define
command allows you to create a user-defined command by assigning a
command name to a sequence of debugger commands that you specify. You may then execute the command
that you defined by entering the command name at the debugger prompt.
User commands may accept up to ten arguments separated by whitespace.
Example
(fgldb) define myinfo
> info breakpoints
> info program
> end
(fgldb)