Restructuring i386_extract_return_value
Eli Zaretskii
eliz@delorie.com
Fri Mar 10 09:42:00 GMT 2000
> Comments are welcome!
The changes seem okay, but I have one consideration:
> 1. The majority of i386 targets in GCC return floating-point values by
> default on the FPU stack. In fact the only exception is NeXT.
> There is a switch `-mno-fp-ret-in-387' to force GCC to return
> floating-point values in the ordinary CPU registers. I don't think
> this can be determined from the debugging information. Is it worth
> adding a i386 target specific option to enable people to debug
> this code? Propably not.
Is this switch so painful to support that it is justified to disable
debugging such programs?
In my experience, about 5 minutes after you release a product based on
the assumption that this switch is not used enough to care about,
somebody posts a bug report for a program which does use that
switch...
So I think it might be a good idea to support it if that is feasible.
More information about the Gdb
mailing list