This is the mail archive of the gdb-patches@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: [patch rfc] PUSH_ARGUMENTS() -> push_dummy_call()


Is it too much overhead/PITA to restructure it so that we can use that
>information?  If so I'll probably need to add a new architecture method
>to get ths sort of information.


It is definitly beyond the scope of these cleanups. The interface is going to be sufficiently different to need a new architecture method anyway.


Would a FETCH_POINTER_ARGUMENT() method be sufficient for your immediate needs?


Yes!  Thanks for the pointer.  I'll put together a patch to move it
into the architecture vector, for those architectures where it has a
clear implementation.  And try to write up some mostly-accurate
documentation for what it does...

Basically, it should work as long as the previous N arguments were all
pointers, and for reasonably small values of N (objc-lang never goes
above N == 2 I think).

Yes. BTW, the method will need a type parameter similar to extract_typed_address().


Andrew



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