|
From: Tom H. <th...@cy...> - 2005-01-24 11:57:30
|
In message <200...@cd...>
Patrick Bellasi <der...@cd...> wrote:
> BUT: I would like to know what happens on 0x1BC77506 and 0x1BC79FB1!!!
> Is it possible?!? How can I avoid debug symbol unloading for my libraries?!?
You can't - the reason is that the address might be reused later
for a different library so valgrind wouldn't know which set of
symbols to use.
> NOTE: the code without debug symbols is always from my libs... even if I've
> compiled with -g!!!
> I load libs using into the simulator core that syscall:
> useLib = dlopen( libname , RTLD_NOW | RTLD_GLOBAL );
Presumably you then do a dlclose, which unmaps the library? If you
can arrange for a debug mode where that doesn't happen then you can
use that to prevent symbols being lost.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|