Hi Bob, > I'm using valgrind on a small Ada program (attached). > > The Ada program runs fine on the linux host, it prints 8.5. > > When I run the program through valgrind, it prints 0.0. > > Any ideas why this might be?
I tried and it works fine for me: gnatmake from gcc-4.2 and gcc-4.8, valgrind-3.9.0.SVN, on ubuntu quantal. Note that I'm on a 64 bit system (x86-64). Ciao, Duncan. > > I tried this with gnatmake with gnu 4.1.2 and gnu 4.2 on, > > $ uname -a > Linux maple 2.6.32-22-generic-pae #36-Ubuntu SMP Thu Jun 3 23:14:23 UTC > 2010 i686 GNU/Linux > > Thanks, > Bob > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > > > > _______________________________________________ > Valgrind-users mailing list > Valgrind-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/valgrind-users > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users