This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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

Re: [Linux-ia64] Re: gdb null ptr



I don't think limiting the caching to C++ programs solves the problem.

If I understand the situation, the SGI compiler attaches a DW_AT_name
attribute to array types.  We don't know whether this behavior occurs
only in C compilation units, or in C++ compilation units as well.

If the SGI compiler emits bogus names for array types in C++ code too,
then the same bug will reappear when debugging C++ code, even with
this patch applied.

I think the change to tag_type_to_type needs to be reverted
altogether.  I understand that it provides substantial savings in
storage, but it's simply not correct.

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