PR c++/19406

Jason Merrill jason@redhat.com
Sat Feb 12 00:34:00 GMT 2005


On Wed, 9 Feb 2005 17:50:35 -0500, Daniel Jacobowitz <drow@false.org> wrote:

> 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.

My impression was that GDB handled it fine.  This optimization was
non-controversial when it went in.

Jason



More information about the Gcc-patches mailing list