This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Debugging gcc front end
Guilherme Puglia <1c3br34k@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.org/ml/gcc/2004-03/msg01195.html
>
> But I don't understand where is "my path". And how to insert the break point.
If you want help, you need to tell us precisely what you did, precisely
what happened, and what you expected to happen.
>From your description it sounds like you are having trouble running the
debugger, in which case you might want to ask for help about the
debugger. But I'm really not sure.
Ian