Re: [RFC] Supporting alternative ABIs

Daniel Jacobowitz
2003-08-22T12:57:26Z

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