public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: help: how to use tree-browse function in gcc4.1.1?
@ 2006-09-06  5:25 MCG SUN Xun
  0 siblings, 0 replies; 3+ messages in thread
From: MCG SUN Xun @ 2006-09-06  5:25 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: gcc-help

OK, Thanks.
I made one wrong spilling about : "--enable-tree-browser", missing ther
last "r" ;)
Then it passed.
 
Kind Regards
sunxun    

-----Original Message-----
From: Ian Lance Taylor [mailto:iant@google.com] 
Sent: Tuesday, September 05, 2006 11:25 PM
To: MCG SUN Xun
Cc: gcc-help@gcc.gnu.org
Subject: Re: help: how to use tree-browse function in gcc4.1.1?


"MCG SUN Xun" <Xun.SUN@alcatel-sbell.com.cn> writes:

>    I download gcc4.1.1 and compiler it, debug it with gdb, then 
> according to http://gcc.gnu.org/projects/tree-ssa/tree-browser.html,
> I want to use :
>             gdb> p browse_tree
> but it shows: no this function.
> Then I grep tree-browse.o under my gcc install directary, and no this
> file there.
> I try to find the configure and Makefile.in and no clue there.
> I try to re-compiler gcc4.1.1 with:
>    ./configure  --enable-tree-browse --enable-tree-checking
> --prefix=MYDIR --enable-language=c
>    ./make
>    ./make install
> But there is also no tree-browse.o generated.

You need to configure with "--enable-checking=tree".  The documentation
is probably out of date.

Ian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: help: how to use tree-browse function in gcc4.1.1?
  2006-09-05  7:23 MCG SUN Xun
@ 2006-09-05 15:25 ` Ian Lance Taylor
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Lance Taylor @ 2006-09-05 15:25 UTC (permalink / raw)
  To: MCG SUN Xun; +Cc: gcc-help

"MCG SUN Xun" <Xun.SUN@alcatel-sbell.com.cn> writes:

>    I download gcc4.1.1 and compiler it, debug it with gdb,
> then according to
> http://gcc.gnu.org/projects/tree-ssa/tree-browser.html,
> I want to use :
>             gdb> p browse_tree
> but it shows: no this function.
> Then I grep tree-browse.o under my gcc install directary, and no this
> file there.
> I try to find the configure and Makefile.in and no clue there.
> I try to re-compiler gcc4.1.1 with:
>    ./configure  --enable-tree-browse --enable-tree-checking
> --prefix=MYDIR --enable-language=c
>    ./make
>    ./make install
> But there is also no tree-browse.o generated.

You need to configure with "--enable-checking=tree".  The
documentation is probably out of date.

Ian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* help: how to use tree-browse function in gcc4.1.1?
@ 2006-09-05  7:23 MCG SUN Xun
  2006-09-05 15:25 ` Ian Lance Taylor
  0 siblings, 1 reply; 3+ messages in thread
From: MCG SUN Xun @ 2006-09-05  7:23 UTC (permalink / raw)
  To: gcc-help; +Cc: MCG SUN Xun

Hi,
   I download gcc4.1.1 and compiler it, debug it with gdb,
then according to
http://gcc.gnu.org/projects/tree-ssa/tree-browser.html,
I want to use :
            gdb> p browse_tree
but it shows: no this function.
Then I grep tree-browse.o under my gcc install directary, and no this
file there.
I try to find the configure and Makefile.in and no clue there.
I try to re-compiler gcc4.1.1 with:
   ./configure  --enable-tree-browse --enable-tree-checking
--prefix=MYDIR --enable-language=c
   ./make
   ./make install
But there is also no tree-browse.o generated.

could you tell why, and how to generate and use the browse_tree function
in gdb?
Thanks.

xun.sun

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-06  5:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-06  5:25 help: how to use tree-browse function in gcc4.1.1? MCG SUN Xun
  -- strict thread matches above, loose matches on Subject: below --
2006-09-05  7:23 MCG SUN Xun
2006-09-05 15:25 ` 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).