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


>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> Getting back to another thing I said, can we take this opportunity to
Doug> give it one?

If you mean that I should fix this in order to get this patch in, then
no, I don't think so.  Just my initial foray into this uncovered a lot
of oddities.

If you mean adding a comment, I can do that:

Doug> Also, I guess another question to ask is: What is the definition of
Doug> EVAL_AVOID_SIDE_EFFECTS?
Doug> [since that's what ptype ultimately uses, and since it is used elsewhere]
Doug> If it means "no side effects, except that reading memory is ok" I
Doug> think we need to write that down somewhere.

Doug> Note to self: Need to check that the pr (or another pr) states that
Doug> "ptype s" is also ambiguous.

For C++ we could introduce "typename" to disambiguate.

Tom


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