This is the mail archive of the gdb-prs@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]

[Bug python/12175] show_doc for gdb.Parameter has strange behaviour


http://sourceware.org/bugzilla/show_bug.cgi?id=12175

--- Comment #4 from Phil Muldoon <pmuldoon at redhat dot com> 2010-11-16 15:14:09 UTC ---
Yeah, we can.  First we would have to identify the parameter as being written
in Python.  Then we would require the user to implement show/set documentation
functions in Python.  Then, when the value printing/help parameter code
sections are executed in GDB we can check if it is a Python scripted parameter,
and if so then call into the Python object where it would return the
appropriate string for the above functions.

This would be an API regression on our part though. We might be able to do this
generically which would avoid requiring parameter API changes, but not sure
how.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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