Re: Correct way to use debugging flags

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

 



weili747 <weili747@xxxxxxxxx> writes:

> I am trying to use "-dv" flag in the GCC. For each of the other
> indicated dump files (either with -d or -fdump-rtl-pass), it dumps a
> representation of the control flow graph suitable for viewing with VCG
> to file.pass.vcg.  How to use it correctly? I apologizes it its a very
> simple question. currently, I am trying in the following way:
>
>
> gcc -g -dv test.c

You have to use it in conjunction with some other -d option.  E.g.,
    gcc -g -c -dv -da test.c

That will give you a bunch of test.c.*.*.vcg files.

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