This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] News. Document gdb.Write stream keyword.
- From: Phil Muldoon <pmuldoon at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 21 Mar 2011 10:09:10 +0000
- Subject: [patch] News. Document gdb.Write stream keyword.
- Reply-to: pmuldoon at redhat dot com
I forgot to include this with the patch from last week. I'm not sure it
qualifies as newsworthy, but it does note an addition to the API.
Shall I add it?
Cheers
Phil
2011-03-21 Phil Muldoon <pmuldoon@redhat.com>
* NEWS: Document gdb.Write stream keyword.
--
diff --git a/gdb/NEWS b/gdb/NEWS
index feebf61..251f7ed 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -38,6 +38,10 @@
* Python scripting
+ ** The function gdb.Write now accepts an optional keyword 'stream'.
+ This keword, when provided, will direct the output to either
+ stdout, stderr, or GDB's logging output.
+
** 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