Bug 11737

Summary: Can't set breakpoint in the statically linked shared library on FreeBSD-8.0
Product: gdb Reporter: yuri
Component: gdbAssignee: Not yet assigned to anyone <unassigned>
Status: UNCONFIRMED ---    
Severity: normal CC: gdb-prs
Priority: P2    
Version: 7.1   
Target Milestone: 7.1   
Host: Target:
Build: Last reconfirmed:

Description yuri 2010-06-21 22:59:44 UTC
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.
Comment 1 yuri 2010-06-21 23:07:40 UTC
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!