long double in gdb for x86?

Ulrich Drepper drepper@cygnus.com
Sat May 23 18:11:00 GMT 1998


hjl@lucon.org (H.J. Lu) writes:

> The problem is the FP number in x87 register is stored in long double 
> format. But gdb doesn't know how to print them. I was wondering if
> anyone had added x87 long double support to gdb.

There is already a patch for FP register support.  It works quite well
if the underlying kernel has the needed functionality.  We only have
to add some code which does gdb not complain if the kernel is too old.
I think the gdb home page has a link to the code and I've also sent
the code to the libc-hacker list some time ago.

-- Uli
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------



More information about the Gdb mailing list