[LLVMdev] A few more source level debugging questions
baldrick at free.fr
Wed Dec 2 01:01:45 PST 2009
> Also, even though my code now assembles correctly, gdb gets very unhappy
> when I try to debug it - it prints
> "/build/buildd/gdb-7.0/gdb/dwarf2-frame.c:983: internal-error: Unknown
> CFA rule." and then asks me if I want to generate a core file of gdb.
if I try to use gdb (version 7) with any large program compiled by llvm
with debug info (such as cc1 built by bootstrap) then gdb instantly dies
with a segmentation fault (and it doesn't even ask me if I want a core
dump :) ). So it looks like there is something nasty going on in general...
More information about the llvm-dev