This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Debugging a custom GCC Back End
- From: Balthasar Biedermann <ba at usr42 dot de>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 03 Aug 2008 15:58:32 +0200
- Subject: Debugging a custom GCC Back End
- Openpgp: id=6D95EDD9
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