📄 dbgarchlib.html
字号:
</blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int r3 ( int taskId /* task ID, 0 means default task */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command extracts the contents of register <b>r3</b> from the TCB of aspecified task.If <i>taskId</i> is omitted or 0, the current default task is assumed.<p>Routines are provided for all local registers (<b>r3</b> - <b>r15</b>):<b><i><a href="./dbgArchLib.html#r3">r3</a></i>( )</b> - <b><i>r15</i>( )</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>The contents of the <b>r3</b> register (or the requested register).<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dbgArchLib.html#top">dbgArchLib</a></b>, <i>VxWorks Programmer's Guide: Target Shell</i><hr><a name="fp"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>fp</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>fp</i>( )</strong> - return the contents of register <b>fp</b> (i960)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int fp ( int taskId /* task ID, 0 means default task */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command extracts the contents of register <b>fp</b>, the frame pointer,from the TCB of a specified task.If <i>taskId</i> is omitted or 0, the current default task is assumed.<p></blockquote><h4>RETURNS</h4><blockquote><p>The contents of the <b>fp</b> register.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dbgArchLib.html#top">dbgArchLib</a></b>, <i>VxWorks Programmer's Guide: Target Shell</i><hr><a name="fp0"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>fp0</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>fp0</i>( )</strong> - return the contents of register <b>fp0</b> (also <b>fp1</b> - <b>fp3</b>) (i960KB, i960SB)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>double fp0 ( volatile int taskId /* task ID, 0 means default task */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command extracts the contents of the floating-point register <b>fp0</b> fromthe TCB of a specified task.If <i>taskId</i> is omitted or 0, the current default task is assumed.<p>Routines are provided for the floating-point registers <b>fp0</b> - <b>fp3</b>:<b><i><a href="./dbgArchLib.html#fp0">fp0</a></i>( )</b> - <b><i>fp3</i>( )</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>The contents of the <b>fp0</b> register (or the requested register).<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dbgArchLib.html#top">dbgArchLib</a></b>, <i>VxWorks Programmer's Guide: Target Shell</i><hr><a name="pcw"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>pcw</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>pcw</i>( )</strong> - return the contents of the <b>pcw</b> register (i960)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int pcw ( int taskId /* task ID, 0 means default task */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command extracts the contents of the <b>pcw</b> register from the TCB of aspecified task.If <i>taskId</i> is omitted or 0, the current default task is assumed.<p></blockquote><h4>RETURNS</h4><blockquote><p>The contents of the <b>pcw</b> register.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dbgArchLib.html#top">dbgArchLib</a></b>, <i>VxWorks Programmer's Guide: Target Shell</i><hr><a name="tcw"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>tcw</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>tcw</i>( )</strong> - return the contents of the <b>tcw</b> register (i960)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int tcw ( int taskId /* task ID, 0 means default task */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command extracts the contents of the <b>tcw</b> register from the TCB of aspecified task.If <i>taskId</i> is omitted or 0, the current default task is assumed.<p></blockquote><h4>RETURNS</h4><blockquote><p>The contents of the <b>tcw</b> register.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dbgArchLib.html#top">dbgArchLib</a></b>, <i>VxWorks Programmer's Guide: Target Shell</i><hr><a name="acw"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>acw</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>acw</i>( )</strong> - return the contents of the <b>acw</b> register (i960)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int acw ( int taskId /* task ID, 0 means default task */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command extracts the contents of the <b>acw</b> register from the TCB of aspecified task.If <i>taskId</i> is omitted or 0, the current default task is assumed.<p></blockquote><h4>RETURNS</h4><blockquote><p>The contents of the <b>acw</b> register.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dbgArchLib.html#top">dbgArchLib</a></b>, <i>VxWorks Programmer's Guide: Target Shell</i><hr><a name="dbgBpTypeBind"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>dbgBpTypeBind</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>dbgBpTypeBind</i>( )</strong> - bind a breakpoint handler to a breakpoint type (MIPS R3000, R4000)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS dbgBpTypeBind ( int bpType, /* breakpoint type */ FUNCPTR routine /* function to bind */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>Dynamically bind a breakpoint handler to breakpoints of type 0 - 7.By default only breakpoints of type zero are handled with thefunction <b><i>dbgBreakpoint</i>( )</b> (see <b><a href="./dbgLib.html#top">dbgLib</a></b>). Other types may be used forAda stack overflow or other such functions. The installed handlermust take the same parameters as <b><i>excExcHandle</i>( )</b> (see <b><a href="./excLib.html#top">excLib</a></b>).<p></blockquote><h4>RETURNS</h4><blockquote><p><p>OK, orERROR if <i>bpType</i> is out of bounds.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dbgArchLib.html#top">dbgArchLib</a></b>, <b><a href="./dbgLib.html#top">dbgLib</a></b>, <b><a href="./excLib.html#top">excLib</a></b><hr><a name="edi"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>edi</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>edi</i>( )</strong> - return the contents of register <b>edi</b> (also <b>esi</b> - <b>eax</b>) (i386/i486)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int edi ( int taskId /* task ID, 0 means default task */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command extracts the contents of register <b>edi</b> from the TCB of aspecified task. If <i>taskId</i> is omitted or zero, the last taskreferenced is assumed.<p>Similar routines are provided for all address registers (<b>edi</b> - <b>eax</b>):<b><i><a href="./dbgArchLib.html#edi">edi</a></i>( )</b> - <b><i>eax</i>( )</b>.<p>The stack pointer is accessed via <b><i>eax</i>( )</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>The contents of register <b>edi</b> (or the requested register).<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dbgArchLib.html#top">dbgArchLib</a></b>, <i>VxWorks Programmer's Guide: Target Shell</i><hr><a name="eflags"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>eflags</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>eflags</i>( )</strong> - return the contents of the status register (i386/i486)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int eflags ( int taskId /* task ID, 0 means default task */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command extracts the contents of the status register from the TCB of aspecified task. If <i>taskId</i> is omitted or zero, the last task referenced isassumed.<p></blockquote><h4>RETURNS</h4><blockquote><p>The contents of the status register.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dbgArchLib.html#top">dbgArchLib</a></b>, <i>VxWorks Programmer's Guide: Target Shell</i><hr><a name="r0"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>r0</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>r0</i>( )</strong> - return the contents of register <b>r0</b> (also <b>r1</b> - <b>r14</b>) (ARM)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int r0 ( int taskId /* task ID, 0 means default task */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command extracts the contents of register <b>r0</b> from the TCB of aspecified task. If <i>taskId</i> is omitted or zero, the last task referenced isassumed.<p>Similar routines are provided for registers (<b>r1</b> - <b>r14</b>):<b><i>r1</i>( )</b> - <b><i>r14</i>( )</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>The contents of register <b>r0</b> (or the requested register).<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dbgArchLib.html#top">dbgArchLib</a></b>, <i>VxWorks Programmer's Guide: Debugging</i><hr><a name="cpsr"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>cpsr</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>cpsr</i>( )</strong> - return the contents of the current processor status register (ARM)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int cpsr ( int taskId /* task ID, 0 means default task */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command extracts the contents of the status register from the TCB of aspecified task. If <i>taskId</i> is omitted or zero, the last task referenced isassumed.<p></blockquote><h4>RETURNS</h4><blockquote><p>The contents of the current processor status register.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dbgArchLib.html#top">dbgArchLib</a></b>, <i>VxWorks Programmer's Guide: Debugging</i><hr><a name="psrShow_1"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>psrShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>psrShow</i>( )</strong> - display the meaning of a specified PSR value, symbolically (ARM)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS psrShow ( UINT32 psrval /* psr value to show */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays the meaning of all fields in a specified PSR value,symbolically.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, always.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dbgArchLib.html#top">dbgArchLib</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -