New target methods have ``struct target_info''
Jim Blandy
jimb@redhat.com
Fri Aug 16 09:27:00 GMT 2002
Andrew Cagney <ac131313@ges.redhat.com> writes:
> Just an FYI, I'm going to ask that all future additions to the target
> vector include a target parameter -- ``struct target_info'' (or
> similar).
>
> The theory is that, eventually, every single target method will be
> parameterized with `self' I figure I might as well start somewhere :-)
>
> Exactly what to call that object is very much open to debate. I'm
> thinking that ``struct target_info'' would correspond to things like
> ``thread_info'' and ``frame_info''. The ``struct target_info'' would
> have a ``struct target_ops'' as one member.
Makes sense to me.
More information about the Gdb
mailing list