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: [RFA][patch 1/9] Yet another respin of the patch with initial Python support


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


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