This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR c++/19406
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Richard Henderson <rth at redhat dot com>, Jakub Jelinek <jakub at redhat dot com>,gcc-patches at gcc dot gnu dot org
- Date: Wed, 9 Feb 2005 17:50:35 -0500
- Subject: Re: PR c++/19406
- References: <20050203011348.GA11867@redhat.com> <xypis57axdp.fsf@miranda.boston.redhat.com>
On Sat, Feb 05, 2005 at 09:34:42AM -0500, Jason Merrill wrote:
> On Wed, 2 Feb 2005 17:13:48 -0800, Richard Henderson <rth@redhat.com> wrote:
>
> > Basically, I think it's wrong to try to emit just one field of a class.
> > If we need a field for some reason, then we need the entire class to put
> > it in proper context.
>
> The idea of this optimization is that we will emit the entire class in some
> file, but in others just emit enough of a husk to emit the defined member.
> This husk is marked incomplete, so the debugger knows to look elsewhere for
> the full definition of the class.
But do any debuggers actually handle this? I don't think GDB will.
--
Daniel Jacobowitz
CodeSourcery, LLC