GDB and C++: handling of POD/non-POD objects
Christophe LYON
christophe.lyon@st.com
Tue Jun 21 11:59:00 GMT 2005
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.
More information about the Gdb
mailing list