30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

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.

Setting Search Paths<br />

Make your changes by selecting one of the radio buttons described in the<br />

following table.<br />

Button Description<br />

Error Stops the process, places it in the error state, and displays an<br />

error in the title bar of the Process Window. If you have also<br />

selected the Stop control group on error signal check box,<br />

<strong>TotalView</strong> also stops all related processes. Select this button<br />

for severe error conditions, such as SIGSEGV and SIGBUS.<br />

Stop Stops the process and places it in the stopped state. Select<br />

this button if you want <strong>TotalView</strong> to handle this signal as it<br />

would a SIGSTOP signal.<br />

Resend Sends the signal back to the process. This setting lets you<br />

test your program’s signal handling routines. <strong>TotalView</strong> sets<br />

the SIGKILL and SIGHUP signals to Resend since most programs<br />

have handlers to handle program termination.<br />

Ignore Discards the signal and continues the process. The<br />

process does not know that something raised a signal.<br />

Do not use Ignore for fatal signals such as SIGSEGV and SIGBUS. If you do, <strong>TotalView</strong><br />

can get caught in a signal/resignal loop with your program; the signal immediately<br />

reoccurs because the failing instruction repeatedly re-executes.<br />

Starting <strong>TotalView</strong><br />

Setting Search Paths<br />

EXECUTABLE_PATH Variable<br />

If your source code, executable, and object files reside in different directories,<br />

set search paths for these directories with the File > Search Path command.<br />

You do not need to use this command if these directories are<br />

already named in your environment’s PATH variable.<br />

CLI: dset EXECUTABLE_PATH<br />

These search paths apply to all processes that you’re debugging. (See<br />

Figure 64 on page 72.)<br />

<strong>TotalView</strong> searches the following directories in order:<br />

1 The current working directory (.) and the directories you specify with the<br />

File > Search Path command, in the exact order you enter them.<br />

2 The directory name hint. This is the directory that is within the debugging<br />

information generated by your compiler.<br />

3 If you entered a full path name for the executable when you started<br />

<strong>TotalView</strong>, <strong>TotalView</strong> searches this directory.<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.7 71

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

Saved successfully!

Ooh no, something went wrong!