📄 windsh.html
字号:
Tcl implementation of the <b><i><a href="./windsh.html#routestatShow">routestatShow</a></i>( )</b> core routine. <p><dt>$<b>WIND_BASE</b>/host/resource/tcl/taskHookShowCore.tcl<dd>Tcl implementation of the <b><i><a href="./windsh.html#taskCreateHookShow">taskCreateHookShow</a></i>( )</b>, <b><i><a href="./windsh.html#taskDeleteHookShow">taskDeleteHookShow</a></i>( )</b>,<b><i><a href="./windsh.html#taskSwitchHookShow">taskSwitchHookShow</a></i>( )</b>, <b><i><a href="./windsh.html#taskRegsShow">taskRegsShow</a></i>( )</b> core routines. <p><dt>$<b>WIND_BASE</b>/host/resource/tcl/tcpstatShowCore.tcl<dd>Tcl implementation of the <b><i><a href="./windsh.html#tcpstatShow">tcpstatShow</a></i>( )</b> core routine. <p><dt>$<b>WIND_BASE</b>/host/resource/tcl/tftpInfoShowCore.tcl<dd>Tcl implementation of the <b><i><a href="./windsh.html#tftpInfoShow">tftpInfoShow</a></i>( )</b> core routine. <p><dt>$<b>WIND_BASE</b>/host/resource/tcl/udpstatShowCore.tcl<dd>Tcl implementation of the <b><i><a href="./windsh.html#udpstatShow">udpstatShow</a></i>( )</b> core routine. </dl><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>, <b><a href="./tgtsvr.html#top">tgtsvr</a></b>, <b><a href="./launch.html#top">launch</a></b>, <b><a href="./browser.html#top">browser</a></b>, <i>Tornado User's Guide </i><p>Commands marked with (*) have no equivalents in the VxWorks shell.<p><hr><a name="agentModeShow"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools : Routines</i></a></p></blockquote><h1><i>agentModeShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>agentModeShow</i>( )</strong> - show the agent mode (*) (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int agentModeShow (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command shows the mode of the target agent. There are two agentmodes: <i>system</i> and <i>task</i>.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>, <b><i><a href="./windsh.html#sysResume">sysResume</a></i>( )</b>, <b><i><a href="./windsh.html#sysSuspend">sysSuspend</a></i>( )</b>, <i>Tornado User's Guide: Shell</i><hr><a name="b"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools : Routines</i></a></p></blockquote><h1><i>b</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>b</i>( )</strong> - set or display breakpoints (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS b ( INSTR * addr, /* where to set breakpoint, or 0 = display all breakpoints */ int task /* task for which to set breakpoint 0 = set all tasks */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command sets or displays breakpoints. To display the list ofcurrently active breakpoints, call <b><i><a href="./windsh.html#b">b</a></i>( )</b> without arguments:<pre> -> b</pre>The list shows the address, task, and pass count of each breakpoint.<p>To set a breakpoint with <b><i><a href="./windsh.html#b">b</a></i>( )</b>, include the address, which can bespecified numerically or symbolically with an optional offset.The task argument is optional:<pre> -> b addr [,task ,count]]</pre>If <i>task</i> is zero or omitted, the breakpoint will apply to all breakabletasks. If <i>count</i> is zero or omitted, the breakpoint will occur every timeit is hit. If <i>count</i> is specified, the break will not occur until the<i>count</i> +1st time an eligible task hits the breakpoint (i.e., the breakpoint is ignored the first <i>count</i> times it is hit).<p>Individual tasks can be unbreakable, in which case breakpoints thatotherwise would apply to a task are ignored. Tasks can be spawnedunbreakable by specifying the task option <b>VX_UNBREAKABLE</b>.Tasks can also be set unbreakable or breakable by resetting <b>VX_UNBREAKABLE</b> with the routine <b><i><a href="../../vxworks/ref/taskInfo.html#taskOptionsSet" >taskOptionsSet</a></i>( )</b>.<p>When the agent is in external mode, the <b><i><a href="./windsh.html#b">b</a></i>( )</b> command sets systembreakpoints that will halt the kernel. The <i>task</i> argument is ignored.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if <i>addr</i> is illegal or the breakpoint table is full.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>, <b><i><a href="./windsh.html#bd">bd</a></i>( )</b>, <i>Tornado User's Guide: Shell</i><hr><a name="bd"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools : Routines</i></a></p></blockquote><h1><i>bd</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>bd</i>( )</strong> - delete a breakpoint (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS bd ( INSTR * addr, /* address of breakpoint to delete */ int task /* task for which to delete breakpoint 0 = delete for all */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command deletes a specified breakpoint.<p>To execute, enter:<pre> -> bd addr [,task]</pre>If <i>task</i> is omitted or zero, the breakpoint will be removed for all tasks.If the breakpoint applies to all tasks, removing it for only a singletask will be ineffective. It must be removed for all tasks and then setfor just those tasks desired.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if there is no breakpoint at the specified address.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>, <b><i><a href="./windsh.html#b">b</a></i>( )</b>, <b><i><a href="./windsh.html#bdall">bdall</a></i>( )</b>, <i>Tornado User's Guide: Shell</i><hr><a name="bdall"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools : Routines</i></a></p></blockquote><h1><i>bdall</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>bdall</i>( )</strong> - delete all breakpoints (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS bdall (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine removes all breakpoints.<p>To execute, enter:<pre> -> bdall</pre>All breakpoints for all tasks are removed.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>, <b><i><a href="./windsh.html#bd">bd</a></i>( )</b>, <i>Tornado User's Guide: Shell</i><hr><a name="bh"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools : Routines</i></a></p></blockquote><h1><i>bh</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>bh</i>( )</strong> - set a hardware breakpoint (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS bh ( INSTR * addr, /* where to set breakpoint, or 0 = display all breakpoints */ int access /* access type (arch dependant) */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command is used to set a hardware breakpoint. If the architectureallows it, this function will add the breakpoint to the list of breakpoints and set the hardware breakpoint register(s). For more information, see the manual entry for <b><i><a href="./windsh.html#b">b</a></i>( )</b>.<p></blockquote><h4>NOTE</h4><blockquote><p>The types of hardware breakpoints vary with the architectures.Genrerally, a hardware breakpoint can be a data breakpoint or an instruction breakpoint.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if <i>addr</i> is illegal or the breakpoint table is full or thehardware breakpoint breakpoint table is full.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>, <b><i><a href="./windsh.html#b">b</a></i>( )</b>, <b><i><a href="./windsh.html#bd">bd</a></i>( )</b>, <i>Tornado User's Guide: Shell</i><hr><a name="bootChange"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools : Routines</i></a></p></blockquote><h1><i>bootChange</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>bootChange</i>( )</strong> - change the boot line (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS bootChange (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command changes the boot line used in the boot ROMs. After changing the boot parameters, youcan reboot the target with the <b><i><a href="./windsh.html#reboot">reboot</a></i>( )</b> command.When the system reboots,the shell is restarted automatically.<p>This command stores the new boot line in non-volatile RAM, if the targethas it.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if boot line not changed.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>, <i>Tornado User's Guide: Shell</i><hr><a name="browse"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools : Routines</i></a></p></blockquote><h1><i>browse</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>browse</i>( )</strong> - send a message to the browser asking it to browse an address (*) (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void browse ( int objId /* system-object ID */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>Send a protocol message to the Tornado browser, requesting a display ofthe system object whose ID is specified by the argument <i>objId</i>. Browserdisplays are available for all the system objects recognized by <b><i><a href="./windsh.html#show">show</a></i>( )</b>,but are more convenient because they can be updated automatically andscrolled independently.<p>If the browser is not executing in update mode,this WindSh primitive has no visible effect.<p>There is no target-resident version of <b><i><a href="./windsh.html#browse">browse</a></i>( )</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>, <b><i><a href="./windsh.html#show">show</a></i>( )</b>, <b><a href="./browser.html#top">browser</a></b>, <i>Tornado User's Guide: Shell</i><hr><a name="c"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools : Routines</i></a></p></blockquote><h1><i>c</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>c</i>( )</strong> - continue from a breakpoint (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS c ( int task /* task that should proceed from breakpoint */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine continues the execution of a task that has stopped at abreakpoint.<p>To execute, enter:<pre> -> c [task]</pre>If <i>task</i> is omitted or zero, the last task referenced is assumed.<p>If the agent is in external mode, the system is resumed. In this case <i>task</i> is ignored.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the specified task does not exist.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>, <b><i><a href="./windsh.html#tr">tr</a></i>( )</b>, <i>Tornado User's Guide: Shell</i><hr><a name="cd"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools : Routines</i></a></p></blockquote><h1><i>cd</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>cd</i>( )</strong> - change the default directory (WindSh) </p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS cd
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -