02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5<br />

Shell<br />

run the help( ) command. The number of hardware breakpoints you can set is<br />

limited by the hardware; if you exceed the maximum number, you will receive an<br />

error.<br />

C++ Development<br />

Certain WindSh commands are intended specifically for work with C++<br />

applications. Table 5-6 summarizes these commands. For more discussion of these<br />

shell commands, see VxWorks Programmer’s Guide: C++ Development.<br />

5<br />

Table 5-6<br />

WindSh Commands for C++ Development<br />

Call<br />

cplusCtors( )<br />

cplusDtors( )<br />

cplusStratShow()<br />

cplusXtorSet( )<br />

Description<br />

Call static constructors manually.<br />

Call static destructors manually.<br />

Report on whether current constructor/destructor strategy is manual<br />

or automatic.<br />

Set constructor/destructor strategy.<br />

In addition, you can use the Tcl routine shConfig to set the environment variable<br />

LD_CALL_XTORS within a particular shell. This allows you to use a different C++<br />

strategy in a shell than is used on the target. For more information on shConfig,<br />

see WindSh Environment Variables, p.155.<br />

Object Display<br />

Table 5-7 summarizes the WindSh commands that display VxWorks objects. The<br />

browser provides displays that are analogous to the output of many of these<br />

routines, except that browser windows can update their contents periodically; see<br />

6. Browser.<br />

Table 5-7<br />

WindSh Commands for Object Display<br />

Call<br />

show( )<br />

browse( )<br />

Description<br />

Print information on a specified object in the shell window.<br />

Display a specified object in the <strong>Tornado</strong> browser.<br />

165

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!