Re: Debugging gcc front end

2009-04-08 Thread Guilherme Puglia
HI, I wanna say thanks to everyone that help me. My problem was find the correct path and the command line I will expose what I did to help someone that can have the same problem. I copied the files in my local path $ cp debug /usr/local/bin/ $ cp debugx /usr/local/bin/ after I just run the de

Re: Debugging gcc front end

2009-04-06 Thread Dave Korn
Guilherme Puglia wrote: > Hi! > > or better, hello again! I have posted a question (with my class friend > Eduardo) about 2 or 3 weeks ago. My question was about the grammar > wich gcc C front end use. Yeh! Hi again you guys :) > To solve my problem I wanna debug the C front end. I was trying

Re: Debugging gcc front end

2009-04-06 Thread Ian Lance Taylor
Guilherme Puglia <1c3br...@gmail.com> writes: > To solve my problem I wanna debug the C front end. I was trying to > debug the gcc main function, toplev_main. Unfortunately, I can't > insert a break point in this line. > > I saw the site http://gcc.gnu.org/wiki/DebuggingGCC and > http://gcc.gnu.or

Debugging gcc front end

2009-04-05 Thread Guilherme Puglia
Hi! or better, hello again! I have posted a question (with my class friend Eduardo) about 2 or 3 weeks ago. My question was about the grammar wich gcc C front end use. Happily, I found the answer of my question. Now, I'm having other trouble. I wanna insert some "predefined" AST's tree nodes. To