I am trying to set the breakpoint, when it stops in 'main', but I get this: (gdb) b JITEmitter.cpp:1296 No source file named JITEmitter.cpp. Make breakpoint pending on future shared library load? (y or [n]) n JITEmitter.cpp is recorded as a source of the shared library that is already loaded by current executable. gdb-6.1.1 doesn't have this issue.
When I try to load symbols for this library manually, I get an error: (gdb) symbol-file /usr/local/llvm/svn-r105825.dbg/lib/libLLVM-2.8svn.so Load new symbol table from "/usr/local/llvm/svn-r105825.dbg/lib/libLLVM-2.8svn.so"? (y or n) y Reading symbols from /usr/local/llvm/svn-r105825.dbg/lib/libLLVM-2.8svn.so...done. Unable to read JIT descriptor from remote memory!