This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Fix returning floating points values for x86
- To: kettenis at wins dot uva dot nl
- Subject: Re: [PATCH] Fix returning floating points values for x86
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- Date: Wed, 11 Jul 2001 19:12:58 +0300
- CC: gdb-patches at sources dot redhat dot com, grossman at juniper dot dot dot net
- References: <200107110849.f6B8nGB19158@delius.kettenis.local>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> Date: Wed, 11 Jul 2001 10:49:16 +0200
> From: Mark Kettenis <kettenis@wins.uva.nl>
>
> * i386-tdep.c (i386_extract_return_value): "Fix" comment.
> (i386_store_return_value): Frob FPU status and tag word to make
> sure the return value is the only value on the FPU stack.
Mark, could you please say a few words about the problem that this
solves, and why is this the right solution? I admit I don't
understand it, and the comment about st(0) scared me a bit: it's
certainly _not_ true, in general, that st(0) is always FP0_REGNUM.
TIA