On Fri, Apr 17, 2009 at 03:21:07AM +0000, Debian Bug Tracking System wrote:
> Try this:
> 
> (gdb) p ((double (*)(double))asin) (1.0)
> $4 = 1.5707963267948966
> 
> Or, if you have libc6-dbg installed, this:
> 
> (gdb) p __asin (1.0)
> $5 = 1.5707963267948966
> 
> The C library does not contain debug info for a function named 'asin',
> because the implementation is __asin, so GDB does not know it returns
> a double.  Also, GCC does not emit debug info for the called function
> - I don't know why it doesn't, but probably to save space.
> 
> There is no way the debugger can figure it out, unfortunately.

Should I file this against gcc or libc then?
In concert, this behavior is clearly erroneous.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to