This is the mail archive of the gdb@sources.redhat.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]
Other format: [Raw text]

Re: REG_STRUCT_HAS_ADDR



That's a good strategy.  However, making this stabs-specific seems
wrong to me.  The new method will simply indicate whether the ABI
silently uses pass by reference instead of pass by value for function
argument of a certain type.  Therefore I don't think we should put
STABS in the name.  What about PASS_ARGUMENT_BY_REFERENCE?  I'm going
to drop the GCC_P argument too, since nobody is using it.  I'll post a
patch later today.

To correctly determine if an arument is passed by reference requires the complete function prototype (same problem as push dummy call). I think, rather than change the interface (will anyone actually fix/use that info?) this method should be burried as stabs only. Leave the problem of defining/implementing a new interface to someone that needs it.


Andrew



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