From 0f32bcbd90220154e598087dddfb96025b863bce Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sat, 7 Feb 2015 02:34:38 +0000 Subject: [PATCH] re PR debug/2714 (Stabs truncated on AIX) PR debug/2714 PR bootstrap/64256 * xcoffout.h (DBX_CONTIN_LENGTH): Define as 16384. (DBX_CONTIN_CHAR): Define. From-SVN: r220501 --- gcc/ChangeLog | 7 +++++++ gcc/xcoffout.h | 7 +++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb908510615..15158f129f8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-02-06 David Edelsohn + + PR debug/2714 + PR bootstrap/64256 + * xcoffout.h (DBX_CONTIN_LENGTH): Define as 16384. + (DBX_CONTIN_CHAR): Define. + 2015-02-06 Sebastian Pop Brian Rzycki diff --git a/gcc/xcoffout.h b/gcc/xcoffout.h index ad714f2e0b4..41b6554abfe 100644 --- a/gcc/xcoffout.h +++ b/gcc/xcoffout.h @@ -161,8 +161,11 @@ do { \ /* Do not emit any marker for XCOFF until assembler allows XFT_CV. */ #define NO_DBX_GCC_MARKER -/* Do not break .stabs pseudos into continuations. */ -#define DBX_CONTIN_LENGTH 0 +/* XCOFF32 maximum length is 64K; XLC limits to 16K. */ +#define DBX_CONTIN_LENGTH 16384 + +/* XLC uses '?' as continuation character. */ +#define DBX_CONTIN_CHAR '?' /* Don't try to use the `x' type-cross-reference character in DBX data. Also has the consequence of putting each struct, union or enum -- 2.30.2