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.

<strong>Tornado</strong> 2.0<br />

User’s Guide<br />

7.1 Introduction ...................................................................................................... 233<br />

7.2 Starting CrossWind .......................................................................................... 234<br />

7.3 A Sketch of CrossWind .................................................................................... 234<br />

7.4 CrossWind in Detail ......................................................................................... 236<br />

7.4.1 Graphical Controls ............................................................................ 236<br />

Display Manipulation ....................................................................... 237<br />

CrossWind Menus ............................................................................. 238<br />

CrossWind Buttons ............................................................................ 244<br />

7.4.2 Debugger Command Panel: GDB ................................................... 252<br />

GDB Initialization Files ..................................................................... 253<br />

What Modules to Debug .................................................................. 253<br />

What Code to Display ....................................................................... 254<br />

Executing Your Program .................................................................. 255<br />

Application I/O ................................................................................. 256<br />

Graphically Enhanced Commands ................................................. 256<br />

Managing Targets .............................................................................. 257<br />

Command-Interaction Facilities ...................................................... 258<br />

Extended Debugger Commands ..................................................... 258<br />

Extended Debugger Variables ......................................................... 259<br />

7.5 System-Mode Debugging ............................................................................... 261<br />

7.5.1 Entering System Mode ...................................................................... 261<br />

7.5.2 Thread Facilities in System Mode ................................................... 262<br />

Displaying Summary Thread Information .................................... 263<br />

Switching Threads Explicitly ........................................................... 263<br />

Thread-Specific Breakpoints ............................................................ 264<br />

Switching Threads Implicitly ........................................................... 265<br />

7.6 Tcl: Debugger Automation ............................................................................. 266<br />

7.6.1 Tcl: A Simple Debugger Example .................................................... 266<br />

7.6.2 Tcl: Specialized GDB Commands .................................................... 267<br />

7.6.3 Tcl: Invoking GDB Facilities ............................................................. 268<br />

7.6.4 Tcl: A Linked-List Traversal Macro ................................................. 271<br />

xiv

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

Saved successfully!

Ooh no, something went wrong!