This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR c++/19406


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]