Using Exception Data on HP Tru64 UNIX
If you receive the following error message when you load an executable into TotalView, you may need to compile your program so that it includes exception data.
Cannot find exception information. Stack backtraces may
not be correct.
To provide a complete stack backtrace in all situations, TotalView needs for you to include exception data with the compiled executable. To compile with exception data, you need to use the following options:
cc -Wl,-u,_fpdata_size program.c
where:
-Wl
Passes the arguments that follow to another compilation phase (-W), which in this case is the linker (l). Each argument is separated by a comma (,).
-u,_fpdata_size
Causes the linker to mark the next argument (_fpdata_size) as undefined. This forces the exception data into the executable.
program.c
Is the name of your program.
Compiling with exception data increases the size of your executable slightly. If you choose not to compile with exception data, TotalView can provide correct stack backtraces in most situations, but not in all situations.