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: [RFC] Supporting alternative ABIs


On Fri, Aug 22, 2003 at 10:40:54AM +0200, Corinna Vinschen wrote:
> Hi,
> 
> we're working on GDB support for a platform that supports two
> different calling conventions; the user can choose which to use on a
> per-function basis.  Obviously, calling a function from GDB should
> work, no matter which convention the function uses.  We'd like folks'
> thoughts on how this information should be carried through, from the
> compiler, which actually has the information, to GDB's inferior
> function call code, which needs it.  Since this problem might arise
> more often in future, we are looking forward to a generic solution.
> Thanks to Jim Blandy, who wrote the first draft of this document after
> a long discussion.

This sounds entirely reasonable to me.  Let's give it up for Dwarf 2,
folks, for saving us from adding another incomprehensible letter to
stabs!

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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