|
From: Philippe W. <phi...@sk...> - 2014-01-19 14:34:24
|
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? > > 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 |