This is the mail archive of the
frysk@sourceware.org
mailing list for the frysk project.
Re: Roadmap beginnings
>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:
Ian> I don't know if this counts as "expression parsing," but the most
Ian> obvious problems that I encounter are the difficulties in working with
Ian> STL objects. Given "std::vector<T> v", I can't do "print v[0]".
Ian> Given "std::vector<T>::iterator p", I can't do "print *p". That is
Ian> minimal required functionality for good C++ debugging. This needs to
Ian> work smoothly for STL types and for user defined types.
Daniel> Right. This is not the expression parsing quagmire - it's definitely
Daniel> bugs that need to be fixed, but the solutions are (should be) pretty
Daniel> simple.
I thought operator overloading did not work, but a simple test case
shows that it actually does. And, I can at least print elements of a
std::vector<int> using "p v[3]", and "p *it" works for an iterator of
this vector.
Hmm. This is much better than I remember.
Tom