This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]