This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[doc] Add Python Parameter changes description to NEWS
- From: Phil Muldoon <pmuldoon at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 15 Mar 2011 16:48:01 +0000
- Subject: [doc] Add Python Parameter changes description to NEWS
- Reply-to: pmuldoon at redhat dot com
I forgot to add a NEWS item when I updated how GDB Parameters are
implement in Python. This patch corrects that.
OK?
Cheers,
Phil
2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
* NEWS: Add Parameter sub-classing description.
--
Index: NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.429
diff -u -r1.429 NEWS
--- NEWS 14 Mar 2011 21:45:21 -0000 1.429
+++ NEWS 15 Mar 2011 16:46:08 -0000
@@ -38,6 +38,11 @@
* Python scripting
+ ** Parameters can now be be sub-classed in Python, and in particular
+ you may implement the get_set_doc and get_show_doc functions.
+ This improves how Parameter set/show documentation is processed
+ and allows for more dynamic content.
+
** Breakpoints can now be sub-classed in Python, and in particular
you may implement a 'stop' function that is executed each time
the inferior reaches that breakpoint.