This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Correct way to use debugging flags
- From: Ian Lance Taylor <iant at google dot com>
- To: weili747 <weili747 at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 20 Jul 2009 11:32:54 -0700
- Subject: Re: Correct way to use debugging flags
- References: <24563438.post@talk.nabble.com>
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