[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb 5.1 with shared libraries
From: |
Blindauer |
Subject: |
Re: gdb 5.1 with shared libraries |
Date: |
Thu, 6 Dec 2001 18:02:18 +0100 |
User-agent: |
KNode/0.4 |
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)
> ----------------