OSDN Git Service

2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
authorpmuldoon <pmuldoon>
Thu, 10 Mar 2011 21:29:06 +0000 (21:29 +0000)
committerpmuldoon <pmuldoon>
Thu, 10 Mar 2011 21:29:06 +0000 (21:29 +0000)
commita42ec0ab14902dfbf1a95e7ac33185428f12d214
tree72585137c720476ea9f06a4162b2d110890da5c3
parenteb16e0937c90c66f8ce750224a47509cebc44998
2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>

* python/py-param.c (add_setshow_generic): Add set/show callback
parameters.  Register Python object context.
(get_show_value): New function.
(get_set_value): New function.
(call_doc_function): New function.
(get_doc_string): Move behind get_show_value/get_set_value.

2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.texinfo (Parameters In Python): Document get_set_string and
get_show_string methods.

2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.python/py-parameter.exp: Update tests to the new Python
parameter API. Add "no documentation" test.  Add deprecated API
backward compatibility test.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/python/py-param.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-parameter.exp