something like the attached patch eventually allowed me to force valgrind to load the needed debug information more than once when needed. Is there something I can do to help get this merged so that I don't have to ask my users to apply this patch themselves ?
On Wed, Jun 23, 2010 at 10:45 AM, Mathieu Lacage <[email protected]> wrote: > hi, > > I use valgrind on a normal x86 FC12 system except that it runs an > adhoc dynamic loader whose specifics is to allow users to load the > same file more than once at different base addresses. Things work > nicely if I am careful not to load the same file more than once at any > given time but valgrind appears to have trouble resolving symbols in > anything but the first version of the file loaded in memory. Could it > be that when valgrind loads the debuginfo associated to a specific elf > file loaded in memory, it loads it in a way which makes that debuginfo > entirely specific to the base address of that file ? If so, is there > someone with a really bright idea about how I could work around that > in valgrind so that valgrind resolves the symbols of all the versions > of the file loaded in memory ? > > Mathieu > -- > Mathieu Lacage <[email protected]> > -- Mathieu Lacage <[email protected]>
loader.patch
Description: Binary data
------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
