[LLVMdev] Why -jit-emit-debug doesn't work with gdb-7.1 ?
yuri at rawbw.com
Fri Jul 1 00:31:11 PDT 2011
On 06/21/2010 17:14, Yuri wrote:
> I am on FreeBSD and gdb-7.1 seems to be broken. It fails to set
> breakpoints in shared libs. using symbol-file causes this message:
> (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!
I don't know what is going on with gdb and llvm, but I tried the
upcoming gdb-7.3 and the message "Unable to read JIT descriptor from
remote memory!" is back when llvm::JITEmitDebugInfo is set and
libLLVM-3.0.so is loaded dynamically.
gdb-7.1 was broken, gdb-7.2 works, now gdb-7.3 code is broken again.
More information about the llvm-dev