This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR 64256

On 02/06/15 19:32, David Edelsohn wrote:
After a lot of investigation, I believe that I have learned why stabs
debugging on AIX disabled use of continuations.  GDB, IBM DBX and IBM
XLDB are able to work with stab string continuations produced by GCC.

I am enabling it using definitions that match the behavior of IBM XL
compilers to avoid any unexpected behavior and hopefully be able to
reproduce any future errors with native tools to expedite fixes.
XCOFF32 uses an unsigned short for the stabstring length for a maximum
length of 64K, but XLC limits the size to 16K.  XLC also uses '?' as a
continuation character instead of '\\'.  GDB accepts '?' as an
alternate continuation character.

Bootstrapped on powerpc-ibm-aix7.1.0.0.


Thanks, David

         PR debug/2714
         PR bootstrap/64256
         * xcoffout.h (DBX_CONTIN_LENGTH): Define as 16384.
         (DBX_CONTIN_CHAR): Define.
Well, I thought I was going to have the oldest BZ fixed for this release, but you beat me by a mile.

Glad to see this resolved.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]