New target methods have ``struct target_info''

Andrew Cagney ac131313@ges.redhat.com
Thu Aug 15 16:26:00 GMT 2002


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



More information about the Gdb mailing list