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]

Debugging a custom GCC Back End


Hi,

I'm creating a GCC Back-End for a virtual CPU.
I have already created a Machine Description (cpu.md) File and the Target Description Makro Files (cpu.h cpu.c). I have only implemented all the makros, which are needed for compiling the GCC. But not all which are needed for the CPU.


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?


Thank you for your help,
Balthasar

PS: My English is not so good, but I hope you understand my problem!

Attachment: signature.asc
Description: OpenPGP digital signature


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