This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Supporting alternative ABIs
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb at sources dot redhat dot com
- Date: Fri, 22 Aug 2003 08:57:26 -0400
- Subject: Re: [RFC] Supporting alternative ABIs
- References: <20030822084054.GA1110@cygbert.vinschen.de>
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