TotalView Users Guide - CI Wiki
TotalView Users Guide - CI Wiki
TotalView Users Guide - CI Wiki
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Setting Breakpoints for Multiple Processes ............................................................. 359<br />
Setting Breakpoints When Using the fork()/execve() Functions ................................ 361<br />
Debugging Processes That Call the fork() Function.............................................. 361<br />
Debugging Processes that Call the execve() Function.......................................... 361<br />
Example: Multi-process Breakpoint ..................................................................... 362<br />
Setting Barrier Points ................................................................................................ 362<br />
About Barrier Breakpoint States ........................................................................... 363<br />
Setting a Barrier Breakpoint .................................................................................. 363<br />
Creating a Satisfaction Set ................................................................................... 364<br />
Hitting a Barrier Point ........................................................................................... 365<br />
Releasing Processes from Barrier Points .............................................................. 365<br />
Deleting a Barrier Point ......................................................................................... 365<br />
Changing Settings and Disabling a Barrier Point .................................................. 365<br />
Defining Eval Points and Conditional Breakpoints ......................................................... 366<br />
Setting Eval Points .................................................................................................... 367<br />
Creating Conditional Breakpoint Examples ............................................................. 368<br />
Patching Programs .................................................................................................... 368<br />
Branching Around Code ....................................................................................... 369<br />
Adding a Function Call ......................................................................................... 369<br />
Correcting Code.................................................................................................... 369<br />
About Interpreted and Compiled Expressions ......................................................... 370<br />
About Interpreted Expressions ............................................................................. 370<br />
About Compiled Expressions ............................................................................... 370<br />
Allocating Patch Space for Compiled Expressions .................................................. 371<br />
Allocating Dynamic Patch Space ......................................................................... 371<br />
Allocating Static Patch Space .............................................................................. 372<br />
Using Watchpoints .......................................................................................................... 373<br />
Using Watchpoints on Different Architectures ......................................................... 374<br />
Creating Watchpoints ............................................................................................... 375<br />
Displaying Watchpoints ........................................................................................ 376<br />
Watching Memory ..................................................................................................... 377<br />
Triggering Watchpoints ............................................................................................. 377<br />
Using Multiple Watchpoints .................................................................................. 377<br />
Copying Previous Data Values ............................................................................. 378<br />
Using Conditional Watchpoints ................................................................................ 378<br />
Saving Action Points to a File ......................................................................................... 380<br />
17 Evaluating Expressions<br />
Why is There an Expression System? .............................................................................. 381<br />
Calling Functions: Problems and Issues ................................................................... 383<br />
Expressions in Eval Points and the Evaluate Window .............................................. 383<br />
Using C++ ............................................................................................................... 384<br />
Using Programming Language Elements ......................................................................... 385<br />
Using C and C++ ...................................................................................................... 385<br />
Using Fortran ........................................................................................................... 387<br />
Fortran Statements ............................................................................................... 387<br />
Fortran Intrinsics .................................................................................................. 388<br />
............................................................................................ Using the Evaluate Window 389<br />
Writing Assembler Code ........................................................................................... 390<br />
Using Built-in Variables and Statements ......................................................................... 394<br />
Using <strong>TotalView</strong> Variables ......................................................................................... 394<br />
xiv Contents