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: calling functions with and without prototypes


| In article <199610160102.SAA26326.cygnus.gdb@deneb.cygnus.com>,
| Per Bothner <bothner@deneb.cygnus.com> wrote:
| >Is there any ABI that uses stabs and that passes floats differently
| >depending on if there is a proptotype?
|
| Depending on how you look at it, sparc v9. 
|
| I say depending because without a prototype the value is simply put
| in two places.  Which bites for generating code, but gdb shouldn't care.

The same is true for AIX (without a prototype or using ..., the float is also
put into the GPR as well as FPR).