From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17633 invoked by alias); 14 Feb 2009 20:32:35 -0000 Received: (qmail 17625 invoked by uid 22791); 14 Feb 2009 20:32:34 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.23) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 14 Feb 2009 20:32:29 +0000 Received: from kahikatea.snap.net.nz (unknown [123.255.28.223]) by viper.snap.net.nz (Postfix) with ESMTP id 2ED452F42DF; Sun, 15 Feb 2009 09:32:27 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 74C408FC6D; Sun, 15 Feb 2009 09:32:23 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18839.10838.548086.793672@kahikatea.snap.net.nz> Date: Sat, 14 Feb 2009 20:32:00 -0000 To: Uri Moszkowicz Cc: gdb@sourceware.org Subject: Re: Trouble with GDB/MI output In-Reply-To: References: X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-02/txt/msg00122.txt.bz2 > The funny thing is the program output seems to go straight to my > terminal, making redirection useless. I get this warning: > > &"warning: GDB: Failed to set controlling terminal: Operation not permitted\n" Thiago Bauermann fixed a bug in GDB, just after the release of 6.8, to allow GDB to set the controlling terminal of the inferior. You don't say what version of GDB you are using but, assuming it's 6.8 or earlier, you could try GDB in the CVS repository (or a snapshot) to see if that works with your CPAN module. -- Nick http://www.inet.net.nz/~nickrob