Am 19.01.2014 15:34, schrieb Philippe Waroquiers: > On Sat, 2014-01-18 at 10:11 +0100, David Faure wrote: >> On Friday 17 January 2014 12:36:32 Raghu Reddy wrote: >>> My question is, how do I find the variable located at the address 0x420A080? >>> The code was ready compiled with -g option, so I was wondering why it was >>> unable to point me to the variable. What can I do to get the actual >>> variable name or the location where if this is happening? >> >> Are you sure that libiomp5.so itself is compiled with -g, not just your >> application?
I assume this will get tricky with the OpenMP runtime shipped with the Intel compiler. Better use GCC to check for races in your code. And if you know your code is race-free, you make use ICC again. Josef >> >> If yes, maybe try without optimizations (-O0 or nothing instead of -O2), in >> case inlining got in the way. But this looks more to me like a missing -g in >> the first place. >> > I agree with DAvid that it looks like libiomp5 looks compiled without > -g, so having this lib compiled with debug is the first thing to do. > > Additionally, you might try the option --read-var-info=yes. > > > Philippe > > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Valgrind-users mailing list > Valgrind-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/valgrind-users > ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users