This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: unwind support for Linux 2.6 vsyscall DSO
So I can see either an iterator, or an update to to_query being added to
the target vector. Given that the iterator is a given, that might be
the safest starting point - let the target maintainer go through and
clean up to_query.
While I won't argue about an iterator being useful, I think that the
target vector code would be clearer if we just had the raw buffer.
Layer the iterator on top of it, instead of re-implementing the
iterator in every target.
Each target won't implement the iterator. Rather it will call on a
generic unpack method, and have that it do it.
Andrew