This is the mail archive of the gcc-help@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: Correct way to use debugging flags


weili747 <weili747@gmail.com> 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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]