
Defining Your Own Command Strings
4-18
-
Listing all aliases. To display a list of all the defined aliases, enter the
ALIAS command with no parameters. The debugger lists the aliases and
their definitions in the COMMAND window.
For example, assume that the init and mfil aliases have been defined as
shown on page 4-17. If you enter:
alias
you’ll see:
Alias
Command
–––––––––––––––––––––––––––––––––––––––––
INIT
––>
load test.out;file source.c;go main
MFIL
––>
fill %1,%2,%3;mem %1
-
Finding the definition of an alias. If you know an alias name but are not
sure of its current definition, enter the ALIAS command with just an alias
name
. The debugger displays the definition in the COMMAND window.
For example, if you have defined the init alias as shown on page 4-17, you
could enter:
alias init
Then you’d see:
”INIT”
aliased
as
”load
test.out;
file
source.c;go
main”
-
Nesting alias definitions. You can include a defined alias name in the
command string of another alias definition. This is especially useful when
the command string is longer than the debugger command line.
-
Redefining an alias. To redefine an alias, reenter the ALIAS command
with the same alias name and a new command string.
-
Deleting aliases. To delete a single alias, use the UNALIAS command:
unalias
alias name
To delete
all aliases, enter the UNALIAS command with an asterisk
instead of an alias name:
unalias *
Note that the * symbol
does not work as a wildcard.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...