This is the mail archive of the gcc-patches@gcc.gnu.org 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] Build dbx stabs differently for powerpc-apple-darwin*



On Oct 16, 2003, at 6:07 AM, George Helffrich +44 117 954 5437 wrote:


Stabs of the N_LCSYM type
do not get the common section' base address added to them, so a debugger can't
display the symbols' contents properly. The problem impairs debuggability of
C, possibly C++ and, most severely, Fortran code which may heavily rely on
common blocks (which prompts this patch).

Is it possible to send us small C test case that demonstrates this problem?
As I understand N_LCSYM is not used for common symbols. N_GSYM is used.
Maybe compiler is using wrong one?


The change in stabs is only for powerpc-apple-darwin* builds. It has a side
effect of making the stabs info larger since there is no attempt to optimize
emission of symbols within a single N_BCOMM/N_ECOMM bracket.

This causes some concerns, so I'd like to see C test case, if possible. -- Devang


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