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: [RFC][patch 2/9] export values mechanism to Python


>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:

>> * A way to register a type->object mapping from Python

Daniel> I'm not sure what you mean.  Type to what object?

Sorry -- I mean a way to map a gdb 'struct type *' to the Python
object which will handle printing objects of that type.

Daniel> An interesting question is how to access sub-pieces of a value from
Daniel> the CLI.  If we pretty-print something as a map, how should the user
Daniel> get (A) the values, and (B) the fields of the raw representation of
Daniel> the map?

Yeah, good question.

Daniel> I think we need a UI before we worry about the innards.

Ok.

Tom


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