Re: -femit-struct-debug-reduced/baseonly debug info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 19, 2013 at 9:29 AM, Evgeny Gavrin
<evgeny.gavrin@xxxxxxxxxxx> wrote:
>
> This means that first optional parameter shouldn't affect so much. In case it's omitted debug info should be emitted both for [dir:] and [ind:].
>
> Two cases:
> 1) test.c -O0 -g2 -femit-struct-debug-detailed=ind:ord:base
>
>     opts->x_debug_struct_ordinary[usage] = files;
>
> 2) test.c -O0 -g2 -femit-struct-debug-detailed=ord:base
>
>     opts->x_debug_struct_ordinary[DINFO_USAGE_DFN] = files;
>     opts->x_debug_struct_ordinary[DINFO_USAGE_DIR_USE] = files;
>     opts->x_debug_struct_ordinary[DINFO_USAGE_IND_USE] = files;
>
> What am I missing? On my view, there is smth wrong, or processing of this option has some additional shadow logic, that I failed to find.


Are you saying that the behaviour of the compiler does not match the
documentation?  Or are you saying that you don't understand why it
works?  Or are you saying that the documentation is unclear?

Ian




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux