This is the mail archive of the gdb-patches@sourceware.org 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]

Re: [patch][doc] PR python/10781


Eli> Then how about "Cast an instance of @code{gdb.Value} ..."?

Maybe "this instance".
It is not any instance.

>> I think it is generally preferable to name parameters according to their
>> use.

Eli> No, they should be named according to their essence, i.e. what they
Eli> are.

It must be a type -- an instance of gdb.Type.

>> gdb.Type represents a type in the inferior.

Eli> Sorry, I still don't understand.

gdb.Type is a class.  An instance of this class represents a type in the
user's program.  It is a representation because it is not actually the
type, but a way of describing the type.

Tom


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