This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: long double in gdb for x86?
- To: hjl@lucon.org (H.J. Lu)
- Subject: Re: long double in gdb for x86?
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 23 May 1998 18:07:12 -0700
- Cc: gdb@cygnus.com, egcs@cygnus.com, libc-hacker@cygnus.com (GNU C Library)
- References: <m0ydOVw-000268C@ocean.lucon.org>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
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 `------------------------