This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: long double in gdb for x86?


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   `------------------------