|
From: <an...@fr...> - 2009-12-07 16:14:49
|
Hi, I compiled my program using a cross-compiler (gcc) with a -g switch on Windows. A linux executable was generated. Then in Linux VM, I executed valgrind --tool=cachegrind --branch-sim=yes ./tpsflinux Then I ran cg_annotate cachegrind.out.16412 --auto=yes I wanted to see line by line cache analyses but I get error that there is no such information. After reading the documentation, I cannot see why it does not show line by line information... Can someone tell me what may be wrong? Thank you. Marton Papp |
|
From: Josef W. <Jos...@gm...> - 2009-12-07 23:40:01
|
Am Montag 07 Dezember 2009 16:09:31 schrieb an...@fr...: > I compiled my program using a cross-compiler (gcc) with a -g switch on > Windows. A linux executable was generated. > ... > I wanted to see line by line cache analyses but I get error that there > is no such information. Perhaps the cross-compiler on windows defaults to a debug format not supported by Valgrind. Try to compile with "-gdwarf-2". Josef > After reading the documentation, I cannot see why it does not show line > by line information... > > Can someone tell me what may be wrong? > > Thank you. > > > Marton Papp > > > > > --------------------------------------------------------------------------- > --- Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > |