The X86/ELF Dwarf support appears to be lacking some information that the debugger needs. Although it is possible to set breakpoints, trace through the program, and otherwise debug things, GDB will quite frequently print messages of the form: During symbol reading, Incomplete CFI data; unspecified register eax at 0x08867e2d. During symbol reading, Incomplete CFI data; unspecified register ecx at 0x08867e2d. During symbol reading, Incomplete CFI data; unspecified register edx at 0x08867e2d. During symbol reading, Incomplete CFI data; unspecified register ebx at 0x08867e2d. During symbol reading, Incomplete CFI data; unspecified register esi at 0x08867e2d. During symbol reading, Incomplete CFI data; unspecified register edi at 0x08867e2d. These always occur with the "where" command and often occur when inspecting variables or using the "next" command. Possibly there is some frame information that is missing for X86/ELF.
If debug info doesn't work right on X86/ELF, does it make sense to disable it until after the 1.9 release? Either we want to say it works or it doesn't. We don't want a half-way state. -Chris
Reid implied that this was somewhat an esthetic issue (getting warnings from gdb), so I can go either way. However, to make a decision I would say, disable - they don't have it now - wait till it is less messy.
Debugging works fine. As Jim said, its just a matter of making GDB shut up about stuff it thinks it needs. You can do all the basic things: get stack trace, list code (although paths are missing), inspect variables, set breakpoints, etc. It all works, you just get lots of these warning messages. Implementing the required info will probably make some esoteric functionality work better but I haven't discovered what yet. The X86/ELF debug stuff is fine for 1.9.
ok, excellent.
I think the same issue applies to mingw debugging information too.
Devang? How was this fixed? I still get the problem on Linux.
I accidently resolved this bug. Reopening.
is this still an issue?
Yes, it is still an issue.
Well. It seems, I've found the reason. Testing... I've attached (fixed) SingleSource/UnitTests/2002-12-13-MishaTest.s Could please anybody check, whether it's ok or not....
Created attachment 698 [details] Fixed .s
Fixed with http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070305/045671.html http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070305/045673.html http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070305/045672.html http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070305/045674.html Probably, the same should be done for ppc/Linux. I'm waiting for Nicolas's response. Reopen in case of any bad things.