Re: [RFC][patch 2/9] export values mechanism to Python

Tom Tromey
2008-06-03T14:52:03Z

>>>>> "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