Gcc Compiled Application Cannot Be Debugged Using dbx
(Doc ID 1006953.1)
Last updated on AUGUST 03, 2016
Applies to:Oracle Solaris Studio - Version Forte Developer 6 Update 2 to 12.4 [Release 6.0 to 12]
An application compiled using gcc or g++ with the "-g" option can not be debugged using Oracle Solaris Studio dbx debugger because
- dbx crashes when loading an application compiled with gcc or g++
- dbx crashes when loading shared libraries compiled with gcc or g++
- dbx crashes when stepping over or into a line where a reference is made into a shared library compiled with gcc or g++
The problem is expected to occur if gcc is configured to emit gcc stabs.
The problem is less likely to occur if gcc is configured to emit DWARF.
The problem is less likely to occur if a version of gcc or g++ is used against which dbx has been tested.
The problem is more likely to occur if the gcc or g++ version is newer than the most recent version against which dbx was tested.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!