Data Types and Declarations

The following list describes the C data types and declarations that you can use:

  • The data types that you can use are char, short, int, float, double, and pointers to any primitive type or any named type in the target program.
     
  • Only simple declarations are permitted. Do not use struct, union, and array declarations.
     
  • You can refer to variables of any type in the target program.
     
  • Unmodified variable declarations are considered local. References to these declarations override references to similarly named global variables and other variables in the target program.
     
  • (Compiled evaluation points only.) The global declaration makes a variable available to other evaluation points and expression windows in the target process.
     
  • (Compiled evaluation points only.) The extern declaration references a global variable that was or will be defined elsewhere. If the global variable is not yet defined, TotalView displays a warning.
     
  • Static variables are local and persist even after TotalView evaluates an evaluation point.
     
  • TotalView only evaluates expressions that initialize static and global variables the first time it evaluates a code fragment. In contrast, it initializes local variables each time it evaluates a code fragment.
 
 
 
 
support@etnus.com
Copyright © 2001, Etnus, LLC. All rights reserved.
Version 5.0