[RFC] Supporting alternative ABIs

Daniel Jacobowitz drow@mvista.com
Fri Aug 22 12:57:00 GMT 2003


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



More information about the Gdb mailing list