This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Debugging a custom GCC Back End


Balthasar Biedermann wrote on 03 August 2008 14:59:

> The compilation of my custom GCC works, but the binary I get is not
> working. I always get the "internal compiler error: Segmentation fault"
> message if I try to Compile a c-file.
> But the GCC don't tell me, where or why the error occurred. Is there any
> possibility to debug the gcc-backend? Or how can I find out where the
> Error occurred?

  Sure, it works fine under a debugger like gdb.  See the wiki page for more
information:
http://gcc.gnu.org/wiki/DebuggingGCC

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]