Re: -fdump-translation-unit does'nt dump as expected.

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

 



I was earlier using

Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)

This dumps every typedef.

With the new version I'm not able to get those dumps.
I just downloaded latest release and compiled it.  It too doesn't dump
those typedef trees.
Any other pointers?

--regards, Praveen

On Sat, Mar 21, 2009 at 12:42 AM, Diego Novillo <dnovillo@xxxxxxxxxx> wrote:
> On Thu, Mar 5, 2009 at 11:25, Praveen D V <for.pdv@xxxxxxxxx> wrote:
>
>> $gcc -fdump-translation-unit try.c
>>  generates try.c.001t.tu (earlier versions generated try.c.tu). I
>> don't see any reference of MyStruct in the generated file.
>> Please help, am I missing any thing in the process?
>
> The dumps are meant to be used when debugging the compiler.  They are
> not meant to be complete.  In particular global type definitions are
> never dumped.
>
>
> Diego.
>


[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