| |||
| Home > RealView Debugger Commands > Alphabetical command reference > NAMETRANSLATE | |||
The NAMETRANSLATE command manipulates the host/target name translation list.
NAMETRANSLATE
[,qualifier] [=name-translation,
...]
where:
qualifierIf specified, must be one of the following:
replaceThe current name translation list is to be replaced by the list specified in this command.
deleteThe current name translation list is to be deleted.
If you do not supply a qualifier, the name translation list specified in this command is appended to the current name translation list.
name_translationA list of name translations. The format is:
"hname=tname"
where hname is the filename on the host
and tname is the filename on the target. Both hname and tname can
be a comma-separated list.
Each translation must be enclosed in double quotes.
The NAMETRANSLATE command extends, replaces, or deletes the name translation list. Name translation enables a host filename to be different from a target filename.
If you supply no arguments, the NAMETRANSLATE command prompts you to enter a name translation for the current board:
If you enter this command in the Cmd tab of the RealView Debugger GUI, a prompt dialog is displayed and shows any existing translation.
If you enter this command in the headless debugger, you can press Enter to show the current name translation.
If translating from host name to target name, the first target name in the list is used. If translating from target name to host name, the first host name in the list is used.
The following examples show how to use NAMETRANSLATE:
nametranslate "hostfile1=targetfile1","hostfile2=targetfile2"
nametranslate "hostfile1,hostfile2,hostfile3=targetfile1,targetfile2"