Symbolic debugger support

You can instruct IBM® Open XL C/C++ to include debugging information in your compiled objects by using different levels of the -g compiler option.

IBM Open XL C/C++ for AIX 17.1.4 supports only the DWARF debugging information format and the default DWARF version is DWARF 3. Use the following options to switch DWARF versions:

  • -gdwarf-2
  • -gdwarf, -gdwarf-3
  • -gdwarf-4
The compiler can generate DWARF information tuned for the following debuggers:
  • The DBX debugger by using the -gdbx option, which is the default
  • The GDB debugger by using the -ggdb option
Note: The current release of DBX does not support the DWARF information generated by IBM Open XL C/C++ for AIX 17.1.4. A future release of DBX is planned to add this support.