This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
New target methods have ``struct target_info''
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 15 Aug 2002 19:26:56 -0400
- Subject: New target methods have ``struct target_info''
Hello,
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.
enjoy,
Andrew