This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB and C++: handling of POD/non-POD objects
- From: Christophe LYON <christophe dot lyon at st dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb at sourceware dot org
- Date: Tue, 21 Jun 2005 13:59:13 +0200
- Subject: Re: GDB and C++: handling of POD/non-POD objects
- References: <42B68205.38424254@st.com> <20050620135706.GA29971@nevyn.them.org>
Daniel Jacobowitz wrote:
>
> On Mon, Jun 20, 2005 at 10:44:53AM +0200, Christophe LYON wrote:
> > [...]
> >
> > I am surprised that no other target already has
> > code to handle this: is it because every other
> > target always needs the hidden pointer parameter
> > to handle object return, whether POD or non-POD?
>
> The code in the AMD64 port is for a different purpose. What you're
> describing needs to live at a higher level, in the architecture
> independent code.
That's what I was expected, and why I was surprised not
to find it.
> Here's a patch; I haven't updated or tested it in a while. I need to
> rework it, and I need to check a couple of existing disabled tests that
> it probably affects; I just haven't had the time yet.
>
OK thanks, we try to include it in our developments.
Best regards,
Christophe.