https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64256
--- Comment #9 from Zoltan Hidvegi <zoltan at hidvegi dot com> --- xlC generates stubs with continuation, and it seems to cut them at 16k both for 32-bit and 64-bit objects, so maybe gcc could do the same. gdb-7.7.1 seems to segfault on stubs longer than 32k for 32-bit executables, although long stubs work with 64-bit executables. My brief testing showed that it indeed handles continuations as long as all parts are under 32k. There is also totalview, I haven't tried that. Other debuggers on AIX often have trouble dealing with the debug info of g++. But regardless of debugger support, there is really no alternative to using continuation for XCOFF32. And as others have said this bug has been in gcc for a long time, and has been brought up by several bugreports, e.g. also in PR46072