This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] const array types
> I disagree:
I certainly understimated the consequences of this little distinction
(I haven't used C++ 1994 or 1995)!
> It looks sane to me to not emit a whole new struct type based on
> struct S that includes a `const inst x' just for `b' (rather than
> DW_TAG_const_type pointing at struct S). Is `a' really any different?
I see you point. Perhaps this should be clarified at the DWARF level
as well?
> E.g., out of the blue, in C++ it can make the user call the
> wrong function from gdb, when there are overloads
> involved (, or templates, I guess):
Ugh!
--
Joel