This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: RFC: fix PR c++/9197


On Thu, 10 Jan 2013 21:59:29 +0100, Tom Tromey wrote:
> The PR doesn't really show any symptoms of the bug -- it is one of the
> "cleanup" bugs that remain open in bugzilla -- but PR 11463 shows the
> problem nicely: "print test1.gnu_obj_1" shows something, but "ptype" of
> the same expression yields an error.

This means lookup_struct_elt_type has bug(s).  After your patch it is only
used in ada-lang.c and p-exp.c so a TODO item is to convert those calls also
to value_struct_elt.  Therefore lookup_struct_elt_type could be at least
renamed to deprecated_lookup_struct_elt_type.


Thanks,
Jan


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