⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c-overview4.html

📁 vxworks相关论文
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>    Overview   </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-overview.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-overview3.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-overview5.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="84131">1.4  &nbsp;&nbsp;Tornado Host IDE</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="86749"> </a>Tornado integrates the various aspects of VxWorks programming into a single environment for developing and debugging VxWorks applications. The Tornado IDE allows developers to organize, write, and compile applications on the host system; and then download, run, and debug them on the target. This section provides more detail on the major features of the IDE.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84137">Tornado Editor</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84138"> </a>The Tornado source-code editor includes the following features:</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84139"> </a>Standard text manipulation capabilities.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84140"> </a>C and C++ syntax-element color highlighting.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84141"> </a>Debugger integration: the editor window tracks code execution.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84142"> </a>Compiler integration: the project-management utility links compiler warnings and errors directly to the affected source in an editor window.</li></ul></p></dl><dl class="margin"><dd><p class="Body"><a name="86663"> </a>The Tornado editor is described in <a href="c-editor.html#83913"><i class="title">3.&nbsp;Editor</i></a>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="85351">Project Management</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="85425"> </a>The Tornado project facility simplifies organizing, configuring, and building VxWorks applications. It includes graphical configuration of the build environment (including compiler flags), as well as graphical configuration of VxWorks (with dependency and size analysis). The project facility also provides for basic integration with common configuration management tools such as ClearCase.</p><dd><p class="Body"><a name="85358"> </a>The project facility is described in <a href="c-builder.html#104670"><i class="title">4.&nbsp;Projects</i></a>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="85485">Compiler</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="85489"> </a>Tornado includes the GNU compiler for C and C++ programs, as well as a collection of supporting tools that provide a complete development tool chain:</p></dl><dl class="margin"><ul class="BulletSingle" type="disc"><li><a name="85491"> </a><b class="command">cpp</b>, the C preprocessor</li></ul><ul class="BulletSingle" type="disc"><li><a name="85493"> </a><b class="command">gcc</b>, the C and C++ compiler</li></ul><ul class="BulletSingle" type="disc"><li><a name="85495"> </a><b class="command">make</b>, the program-building automation tool</li></ul><ul class="BulletSingle" type="disc"><li><a name="85497"> </a><b class="command">ld</b>, the programmable static linker</li></ul><ul class="BulletSingle" type="disc"><li><a name="85499"> </a><b class="command">as</b>, the portable assembler</li></ul><ul class="BulletSingle" type="disc"><li><a name="85500"> </a>binary utilities</li></ul></dl><dl class="margin"><dd><p class="Body"><a name="85501"> </a>These tools are supported, commercial versions of the leading-edge GNU tools originally developed by the Free Software Foundation (FSF). Users of the GNU tools benefit from the innovative FSF development environment as well as from testing and support by Wind River Systems.</p><dd><p class="Body"><a name="85795"> </a>Among other features, the Tornado project facility provides a GUI for the GNU tools that is powerful and easy to use. </p><dd><p class="Body"><a name="85502"> </a>For more information, see <a href="c-builder.html#104670"><i class="title">4.&nbsp;Projects</i></a>, <i class="title">Gnu ToolKit User's Guide</i>, and<i class="title"> GNU Make</i>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84155">WindSh Command Shell</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84157"> </a>WindSh is a host-resident command shell that provides interactive access from the host to all run-time facilities. The shell provides a simple but powerful capability: it can interpret and execute almost all C-language expressions. It also supports C++, including "demangling" to allow developers to refer to symbols in the same form as used by the original C++ source code.</p><dd><p class="Body"><a name="84158"> </a>Thus the shell can be used to call run-time system functions, call any application function, examine and set application variables, create new variables, examine and modify memory, and even perform general calculations with all C operators.</p><dd><p class="Body"><a name="84159"> </a>For even more versatile shell scripting and target control, the Tornado shell includes a complete Tcl interpreter as well as the C interpreter. The shell also provides the essential symbolic debugging capabilities, including breakpoints, single-stepping, a symbolic disassembler, and stack checking.</p><dd><p class="Body"><a name="84161"> </a>The shell interpreter maintains a command history and permits command-line editing. The shell can redirect standard input and standard output, including input and output to the virtual I/O channels supported by the target agent.</p><dd><p class="Body"><a name="84162"> </a>As a convenience, there is some overlap between WindSh and CrossWind, the Tornado debugger. (Conversely, the CrossWind debugger provides access to all shell built-in commands.) From the shell, you can perform the following debugging activities:</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84163"> </a>Display system and task status.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84164"> </a>Generate a symbolic disassembly of any loaded module.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84165"> </a>Set breakpoints and single-step specific tasks, even in shared code.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84166"> </a>Set breakpoints and single-step the system as a whole, even in interrupt service routines.</li></ul></p></dl><dl class="margin"><dd><p class="Body"><a name="84167"> </a>As with all Tornado tools, these facilities provide symbolic references wherever possible, using the symbol table managed by the target server.</p><dd><p class="Body"><a name="84171"> </a>The shell is described in <a href="c-shell.html#83917"><i class="title">6.&nbsp;Shell</i></a>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84173">CrossWind Debugger</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84175"> </a>The remote source-level debugger, CrossWind, is an extended version of the GNU source-level debugger (GDB). The most visible extension to GDB is a straightforward graphical interface. CrossWind also includes a comprehensive Tcl scripting interface that allows you to create sophisticated macros or extensions for your own debugging requirements. For maximum flexibility, the debugger console window synthesizes both the GDB command-line interface and the facilities of WindSh, the Tornado shell. </p><dd><p class="Body"><a name="84177"> </a>From your development host, you can use CrossWind to do the following:</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84178"> </a>Spawn and debug tasks on the target system. </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84179"> </a>Attach to already-running tasks, whether spawned from your application, from a shell, or from the debugger itself. </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84180"> </a>Use breakpoints and other debugging features at either the application level or the system level. </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84181"> </a>View your application code as C or C++ source, as assembly-level code, or in a mixed mode that shows both.</li></ul></p></dl><dl class="margin"><dd><p class="Body"><a name="84187"> </a>The debugger is described in <a href="c-debugger.html#83918"><i class="title">8.&nbsp;Debugger</i></a>. Also see <i class="title">Debugging with GDB</i>. </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84189">Browser</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84191"> </a>The Tornado browser is a system-object viewer, a graphical companion to the Tornado shell. The browser provides display facilities to monitor the state of the target system, including the following:</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84192"> </a>Summaries of active tasks (classified as system tasks or application tasks).</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84193"> </a>The state of particular tasks, including register usage, priority, and other attributes.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84194"> </a>Comparative CPU usage by the entire collection of tasks.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84195"> </a>Stack consumption by all tasks.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84196"> </a>Memory allocation.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84197"> </a>Summary of modules linked dynamically into the run-time system.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84198"> </a>Structure of any loaded object module.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84199"> </a>Operating-system objects such as semaphores, message queues, memory <br>partitions, and watchdog timers. </li></ul></p></dl><dl class="margin"><dd><p class="Body"><a name="84203"> </a>The browser is described in <a href="c-browser.html#86165"><i class="title">7.&nbsp;Browser</i></a>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="85355">WindView Software Logic Analyzer</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="85435"> </a>WindView is the Tornado logic analyzer for real-time software. It is a dynamic visualization tool that provides information about context switches, and the events that lead to them, as well as information about instrumented objects. </p><dd><p class="Body"><a name="86667"> </a>Tornado includes an integrated version of WindView designed solely for use with the VxWorks target simulator. WindView is available as an optional product for all supported target architectures. </p><dd><p class="Body"><a name="85357"> </a>WindView is described in the <i class="title">WindView User's Guide</i>.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="86179">VxWorks Target Simulator</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="86196"> </a>The VxWorks target simulator is a port of VxWorks to the host system that simulates a target operating system. No target hardware is required. The target simulator facilitates learning Tornado usage and embedded systems development. More significantly, it provides an independent environment for developers to work on parts of applications that do not depend on hardware-specific code (BSPs) and target hardware.</p><dd><p class="Body"><a name="86384"> </a>Tornado includes a limited version of the target simulator that runs as a single instance per user, without networking support. Optional products such as STREAMS, SNMP, and Wind Foundation Classes are not available for this version.</p><dd><p class="Body"><a name="86584"> </a>The full-scale version of the simulator, VxSim, is available as an optional product. It supports multiple-instance use, networking, and all other optional products. </p><dd><p class="Body"><a name="86187"> </a>See the <i class="title">Tornado Getting Started Guide </i>for a introductory discussion of target simulator usage, and <a href="c-builder.html#104670"><i class="title">4.&nbsp;Projects</i></a> for information about its use as a development tool.</p></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-overview.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-overview3.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-overview5.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc.    conversion tool:  Quadralay WebWorks Publisher 4.0.11    template:         CSS Template, Jan 1998 - Jefro --->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -