Re: Fwd: GCC debug

2009-09-28 Thread Andrew Haley
daniel tian wrote: > 2009/9/28 Basile STARYNKEVITCH : >> daniel tian wrote: >>> Thanks. >>> But how to debug cc1. Because now I port the gcc to my RISC target. >>> But when build the libgcc2.c. Some error occurred. So i have to debug >>> it. >>> Any advice about how to debug? >> >> Start gdb from

Fwd: GCC debug

2009-09-28 Thread daniel tian
2009/9/28 Basile STARYNKEVITCH : > daniel tian wrote: >> >> Thanks. >> But how to debug cc1. Because now I port the gcc to my RISC target. >> But when build the libgcc2.c.  Some error occurred. So i have to debug >> it. >> Any advice about how to debug? > > > Start gdb from the build directory (mor