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: [RFA] Fix C++ typedefs parsing errors


On 09/15/2009 03:11 PM, Doug Evans wrote:
[nothing ventured, nothing gained]

Indeed!


It looks fine to me, with one proviso.
Do we want the typedef-stripped type passed to write_exp_elt_type?
It kinda feels like we don't, but I don't honestly know.

Yeah, I also had serious questions about that. Alas, in the absence of perfect (or any) information, I've relied on the test suite to point out any problems, and there are (sadly?) no regressions.


I'm afraid that I'm one of "those" people who relies on the test suite to tell me if I've done something *really* stupid. Or even marginally stupid.

I wish I had a better answer than that, but, well, I don't. :-( c-exp.y is a bewildering mess of language and gdb constructs. [I actually *have* tried to clean it up and reduce the number conflicts, but it would require refining some of gdb's syntax, which directly collides with C++ syntax. Not that I really tried *that* hard...]

Keith


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