This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: fix PR c++/9197
- From: Tom Tromey <tromey at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches <gdb-patches at sourceware dot org>
- Date: Wed, 20 Mar 2013 09:31:57 -0600
- Subject: Re: RFC: fix PR c++/9197
- References: <87d2xcvjny dot fsf at fleche dot redhat dot com> <20130203052021 dot GA16948 at host2 dot jankratochvil dot net> <87wquo11ej dot fsf at fleche dot redhat dot com> <20130206195920 dot GA2797 at host2 dot jankratochvil dot net> <87y5dxpryn dot fsf at fleche dot redhat dot com> <CADPb22QYpJaeUaWT9JZ1hT7+QM-wNBkBq0absFyXQT76zQ=BdA at mail dot gmail dot com> <87ppyu9lrn dot fsf at fleche dot redhat dot com> <CADPb22S2=9eUaSdELQwGeqsKZoksNdQ98KFsf0veQ99_UOgESQ at mail dot gmail dot com>
>>>>> "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