2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Thu, 10 Mar 2011 12:29:08 +0000 (12:29 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Thu, 10 Mar 2011 12:29:08 +0000 (12:29 +0000)
commitecec24e64a26014ab55b1796c4027026b0b5659c
tree7712f689eb503f8e805662c5666cba7b976d2c30
parent6d6c6b1f5589004c390d66c18647656d87c9ae22
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