This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [Linux-ia64] Re: gdb null ptr
- To: Daniel Berlin <dberlin at redhat dot com>
- Subject: Re: [Linux-ia64] Re: gdb null ptr
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Date: 07 Nov 2000 17:28:17 -0500
- Cc: Kevin Buettner <kevinb at cygnus dot com>, Jim Wilson <wilson at cygnus dot com>, Elena Zannoni <ezannoni at redhat dot com>, Pete Wyckoff <pw at osc dot edu>, gdb at sources dot redhat dot com, linux-ia64 at linuxia64 dot org
- References: <200011032142.NAA27103@wilson.cygnus.com><1001103230254.ZM14396@ocotillo.lan> <m3em0sqv74.fsf@dan2.cygnus.com>
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.