Dear all

if I understand correctly, the function

  VG_(get_datasym_and_offset)(..addr..&name...)

looks at the debug informations to return the name and the offset of
the (global) variable stored at addr.

This works fine on linux, but when I compile my valgrind application
on macosx 10.6 (valgrind comes from a recent e.g. < 1 month svn) the
above does not seem to work anymore: name is always null
(independently of the --dsymutil=yes option -- and yes, I checked that
my binary has debug informations with gdb).

I am confused.  I though that in both cases the debug format used was
DWARF, and I can't understand why it does not work on mac.  Do you
have any intuition / suggestion?

 I can provide a 3 lines patch to lackey to reproduce the problem.

Thank you in advance.

Best
-francesco

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to