Frank Liu
2004-Aug-05 04:04 UTC
[LLVMdev] Error: Program contains no debugging information!
Hi, I have a question about using lldm-db. I compiled a simple program using "llvmgcc -g" and loaded the resulting .bc file into llvm-db, but when I tried to set a breakpoint by "b main", it complained "Error: Program contains no debugging information!". Is there anything obvious that I did wrong here? What do I need to do to produce debugging info in the .bc file so that I can set a breakpoint in the debugger? Any help would be appreciated! Regards, Frank __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail
Chris Lattner
2004-Aug-05 04:56 UTC
[LLVMdev] Error: Program contains no debugging information!
On Wed, 4 Aug 2004, Frank Liu wrote:> I have a question about using lldm-db. I compiled a simple > program using "llvmgcc -g" and loaded the resulting .bc > file into llvm-db, but when I tried to set a breakpoint by > "b main", it complained "Error: Program contains no > debugging information!". Is there anything obvious that I > did wrong here? What do I need to do to produce debugging > info in the .bc file so that I can set a breakpoint in the > debugger? Any help would be appreciated!Unfortunately, the C/C++ front-ends do not generate debug information yet. Sorry, but this is a major unimplemented feature so far. -Chris -- http://llvm.cs.uiuc.edu/ http://nondot.org/sabre/