>>>>> Perry Smith writes: Perry> I have a tool that I use to look at AIX dumps. It understands stab Perry> strings that xlc (the IBM compiler) produces. I feed it a file Perry> produced by gcc/g++ and it complains. The same thing happens with Perry> dbx (IBM's debugger). Of course, gdb understands it fine.
Perry> Has gcc/g++ extended the stab strings or is my tool (and dbx) just Perry> incomplete? If there has been an extension to the stab strings, can Perry> someone point me to where it is documented (even if it is in the Perry> source). I *thought* I had a complete implementation as documented Perry> in the AIX pubs but they may be incomplete. So, another possibility Perry> is maybe I just need a pointer to the complete stab string Perry> specification. Yes, GCC produces extended stabx debugging information by default. See the "Options for Debugging Your Program" in the GCC manual, specifically the -gxcoff and -gxcoff+ options. GCC generates -gxcoff+ by default when "-g" commandline optio is used. If you want the subset that works with AIX tools, explicitly use -gxcoff. David