[PATCH] stabs format for symbols in .comm

Devang Patel dpatel@apple.com
Sun Jun 27 02:51:00 GMT 2004


On Jun 26, 2004, at 4:46 AM, George Helffrich +44 117 954 5437 wrote:

>    On Jun 25, 2004, at 20:30, Devang Patel <dpatel@apple.com> wrote:
>
>> Under flag_debug_only_used_symbols, dbxout_symbol () may not emit stab
>> if symbol is not used or emit more than just symbol. So you want to
>> consider it while emitting N_BCOMM and N_ECOMM.
>
> The case covered by flag_debug_only_used_symbols can never arise if the
> dbxout_common_check verdict is positive.  Thus N_BCOMM/N_ECOMM will
> only be emitted if a stabs will be too.

OK

>> Do you have GDB test results (with -g and with "-g
>> -feliminate-unused-debug-symbols")?
>
> Bootstraps gcc ok with -g, compiles and debugs my favorite Fortran and 
> C
> test programs properly with -g and -g -feliminate-unused-debug-symbols.
> What would you like to see, specifically?

Usually, any patch related to debugging info generation require GDB
DejaGNU test reports, but sometimes it is up to the person who approves
the patch.

I do not have authority to approve your patch, so you will have to wait
for global write maintainer or debugging code maintainer's approval.

Thanks,
--
Devang



More information about the Gcc-patches mailing list