I'm trying to look at the debug info for a program compiled with xlc v11.1 on AIX. I used -g
flag when compiled, but looking at the help page I don't see it mention DWARF anywhere or if I can specify what format I want. Any ideas how I can tell what format is being used or any tools that can tell me?
Thanks
The default debug info on AIX was stabstring.
See https://www.ibm.com/support/knowledgecenter/en/ssw_aix_71/filesreference/XCOFF.html#XCOFF__jtsci131jbau for the detail spec.
XLC V11 is very old. If you upgrade the compiler to newer one, you may have choices to switch to use dwarf.