REG_STRUCT_HAS_ADDR
Andrew Cagney
ac131313@redhat.com
Sat Sep 13 15:01:00 GMT 2003
> 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
More information about the Gdb
mailing list