Package: gdb
Version: 6.8-3
Severity: normal
Calls to asin from inside gdb produce incorrect values.
Testcase:
#include <stdio.h>
#include <math.h>
int main() {
printf("asin(1.0) = %f\n", asin(1.0));
return 0;
}
Test program correctly prints 1.570796, but "p asin(1.0)" from within gdb
prints 0.
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (1000, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.28.7-ofb (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gdb depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libexpat1 2.0.1-4 XML parsing C library - runtime li
ii libncurses5 5.7+20081213-1 shared libraries for terminal hand
ii libreadline5 5.2-3.1 GNU readline and history libraries
gdb recommends no packages.
Versions of packages gdb suggests:
pn gdb-doc <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]