From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14626 invoked by alias); 21 Mar 2011 10:09:26 -0000 Received: (qmail 14616 invoked by uid 22791); 21 Mar 2011 10:09:25 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Mar 2011 10:09:13 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p2LA9BFr010316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 21 Mar 2011 06:09:11 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p2LA9AaL007270 for ; Mon, 21 Mar 2011 06:09:11 -0400 From: Phil Muldoon To: gdb-patches@sourceware.org Subject: [patch] News. Document gdb.Write stream keyword. Reply-to: pmuldoon@redhat.com X-URL: http://www.redhat.com Date: Mon, 21 Mar 2011 12:45:00 -0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00949.txt.bz2 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 * 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