Re: [RFA][patch 1/9] Yet another respin of the patch with initial Python support

Tom Tromey
2008-08-01T20:04:42Z

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

[ gdb.show ]
Daniel> I suggest "get" parallel to "set", then.

I've been thinking about this, and on further reflection I think both
"show" and "get" are too generic. How about "get_parameter"? I
picked this because the manual refers to these entities as parameters
at one point:

@kindex info set
To display all the settable parameters and their current
values, you can use @code{show} with no arguments; you may also use

[ flush and write ]
Daniel> Maybe we should move it to a new module gdb._internal then.
Daniel> Tom, what do you think?

I'm ambivalent about it. I don't see much harm in exposing and
documenting these primitives. If it is what you want, though, I will
do it. I suppose the wrapper class ought to go in _internal as well.

Tom