From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19741 invoked by alias); 21 Jul 2011 11:15:07 -0000 Received: (qmail 19730 invoked by uid 22791); 21 Jul 2011 11:15:06 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS 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; Thu, 21 Jul 2011 11:14:52 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6LBEqVN031224 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 21 Jul 2011 07:14:52 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p6LBEp47011289 for ; Thu, 21 Jul 2011 07:14:51 -0400 From: Phil Muldoon To: gdb-patches@sourceware.org Subject: [doc] [patch] Document Python prompt substitution in NEWS. Reply-to: pmuldoon@redhat.com X-URL: http://www.redhat.com Date: Thu, 21 Jul 2011 14:00: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-07/txt/msg00579.txt.bz2 This patch documents in NEWS the Python prompt substitution hook. OK? Cheers, Phil -- 2011-07-21 Phil Muldoon * NEWS: Document Python prompt substitution hook. =================================================================== RCS file: /cvs/src/src/gdb/NEWS,v retrieving revision 1.442 diff -u -r1.442 NEWS --- NEWS 11 Jul 2011 13:07:36 -0000 1.442 +++ NEWS 21 Jul 2011 11:12:38 -0000 @@ -3,10 +3,15 @@ *** Changes since GDB 7.3 -* The "maint set python print-stack on|off" command has been - deprecated, and a new command: "set python print-stack on|off" has - replaced it. Additionally, the default for "print-stack" is now - "off". +* Python scripting + + ** The "maint set python print-stack on|off" command has been + deprecated, and a new command: "set python print-stack on|off" has + replaced it. Additionally, the default for "print-stack" is now + "off". + + ** A prompt subsitution hook (prompt_hook) is now available to the + Python API. * libthread-db-search-path now supports two special values: $sdir and $pdir. $sdir specifies the default system locations of shared libraries.