[LLVMdev] problems with dwarf/gdb
akyrtzi at gmail.com
Wed Apr 15 03:17:48 PDT 2009
Ken McMillan wrote:
> I see. Here's another interesting issue:
> (gdb) b gdb1.c:4
> No line 4 in file "gdb1.c".
> (gdb) step
> foo () at /home/mcmillan/projects/impact2/test//gdb1.c:4
> 4 x++;
> You can see that I can step to line 4, but I can't set a breakpoint there.
Works fine here (llvm 2.5, 32 bit, gdb 6.8)
llc -disable-fp-elim -fast gdb1.bc
If you do
llvm-gcc -g gdb1.c -o gdb1
does it have the same issue ?
More information about the llvm-dev