* Correct way to use debugging flags
@ 2009-07-20 3:39 weili747
2009-07-20 18:33 ` Ian Lance Taylor
0 siblings, 1 reply; 2+ messages in thread
From: weili747 @ 2009-07-20 3:39 UTC (permalink / raw)
To: gcc-help
Hi all:
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
Thanks
--
Regards,
Wei Li
--
View this message in context: http://www.nabble.com/Correct-way-to-use-debugging-flags-tp24563438p24563438.html
Sent from the gcc - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Correct way to use debugging flags
2009-07-20 3:39 Correct way to use debugging flags weili747
@ 2009-07-20 18:33 ` Ian Lance Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2009-07-20 18:33 UTC (permalink / raw)
To: weili747; +Cc: gcc-help
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-20 18:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-20 3:39 Correct way to use debugging flags weili747
2009-07-20 18:33 ` Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).