calling functions with and without prototypes

Michael Meissner meissner@cygnus.com
Wed Feb 25 05:20:00 GMT 1998


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



More information about the Gdb mailing list