I've got a problem related to thread, using double and getting NaN... But in my case, 4.18 was working, not 5.0 nor 5.1 http://manu.agat.net/bug.html has a description of the bug. perhaps these two bug are the same....
Emmanuel Brendan Doherty wrote: > Starting program: /home/andrewd/gomic/engine/tester > [New Thread 1024 (LWP 29708)] > [Switching to Thread 1024 (LWP 29708)] > > Breakpoint 1, mogtest () at main.cpp:95 > 95 double d = 3.5; > (gdb) n > 96 var x; > (gdb) p d > $1 = 3.5 > (gdb) > > ---------------- > But not in 5.1: > ---------------- > > $ /opt/gdb-5.1/bin/gdb tester > Error while mapping shared library sections: > liboraofs.so: Success. > [New Thread 1024 (LWP 29710)] > [Switching to Thread 1024 (LWP 29710)] > > Breakpoint 1, mogtest () at main.cpp:95 > 95 double d = 3.5; > (gdb) n > 96 var x; > (gdb) p d > $1 = -nan(0x8000000000000) > (gdb) > ---------------- _______________________________________________ Bug-gdb mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gdb