From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16224 invoked by alias); 17 Mar 2011 19:47:24 -0000 Received: (qmail 16128 invoked by uid 22791); 17 Mar 2011 19:47:23 -0000 X-SWARE-Spam-Status: No, hits=-6.9 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; Thu, 17 Mar 2011 19:47:15 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p2HJlEBQ022521 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 17 Mar 2011 15:47:14 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p2HJlDUN011143; Thu, 17 Mar 2011 15:47:13 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p2HJlC3E029223; Thu, 17 Mar 2011 15:47:13 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 82F0E378CA1; Thu, 17 Mar 2011 13:47:12 -0600 (MDT) From: Tom Tromey To: pmuldoon@redhat.com Cc: gdb-patches@sourceware.org Subject: Re: [patch] PR python/12149 (stderr output directed to stdout) References: Date: Thu, 17 Mar 2011 19:54:00 -0000 In-Reply-To: (Phil Muldoon's message of "Thu, 17 Mar 2011 17:25:09 +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 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/msg00905.txt.bz2 >>>>> "Phil" == Phil Muldoon writes: Phil> This patch addresses the bug in python/12149 where output from the Python Phil> sys.stderr was being directed to stdout within GDB. In this patch I Phil> have updated gdb.write and flush to take a stream argument, and also Phil> created a new class to deal with error output. Phil> OK? The code bits look good, thanks. Tom