This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


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

Re: Restructuring i386_extract_return_value



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

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