02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2<br />

Setup and Startup<br />

% tgtsvr -V vxsim0 &<br />

% tgtsvr.ex (vxsim0@seine): Mon Nov 30 14:09:46 1998<br />

Connecting to target agent... succeeded.<br />

Attaching C++ interface... succeeded.<br />

Attaching elf OMF reader for SIMSPARCSOLARIS CPU family... succeeded.<br />

2<br />

The -V (verbose) option shown above is not strictly necessary, but it is very useful<br />

for troubleshooting. With this option, tgtsvr produces informative messages if it<br />

cannot connect to the target.<br />

For example, if you make an error in specifying the target name, tgtsvr exits when<br />

it cannot find that target. Without the -V option, tgtsvr exits silently. With the -V<br />

option, tgtsvr produces the following message for an unknown target:<br />

% tgtsvr -V vxsim0 &<br />

% tgtsvr.ex (vxsim0@seine): Mon Nov 30 14:09:46 1998<br />

Error: Target vxsim0 unknown. Attach failed.<br />

Error: Backend initialization routine failed.<br />

Problem during backend initialization.<br />

There are a number of other tgtsvr command-line options to control the behavior<br />

of your target server. The most notable options are the following:<br />

-B Chooses alternative methods of communicating with the target. See 2.5 Host-<br />

Target Communication Configuration, p.31 to use other back ends.<br />

-c Override the path to the VxWorks image on the host system.<br />

For information on these and other command-line options, see the tgtsvr reference<br />

documentation (either online, or in D. <strong>Tornado</strong> Tools Reference). The easiest way to<br />

select and manage these options is with the <strong>Tornado</strong> launcher.<br />

2.8 Launching <strong>Tornado</strong><br />

Are you ready to try <strong>Tornado</strong>? The launcher is a good place to start; it provides<br />

access to all other <strong>Tornado</strong> facilities. Execute the following command:<br />

% launch &<br />

The list on the left of the launcher window shows the targets currently available on<br />

your network. Click on one to select it, and you can see a display similar to<br />

Figure 2-9, summarizing the characteristics of that target. To explore the <strong>Tornado</strong><br />

tools, click on any of the buttons along the bottom of the launcher screen.<br />

55

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

Saved successfully!

Ooh no, something went wrong!