From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17046 invoked by alias); 13 Feb 2009 21:05:36 -0000 Received: (qmail 17038 invoked by uid 22791); 13 Feb 2009 21:05:35 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from imr1.ericy.com (HELO imr1.ericy.com) (198.24.6.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 Feb 2009 21:05:28 +0000 Received: from eusrcmw751.eamcs.ericsson.se (eusrcmw751.exu.ericsson.se [138.85.77.51]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id n1DLBlb3007755; Fri, 13 Feb 2009 15:11:47 -0600 Received: from ecamlmw720.eamcs.ericsson.se ([142.133.1.72]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Fri, 13 Feb 2009 15:05:22 -0600 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Trouble with GDB/MI output Date: Fri, 13 Feb 2009 21:05:00 -0000 Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA06EEF4A9@ecamlmw720.eamcs.ericsson.se> In-Reply-To: References: From: "Marc Khouzam" To: "Uri Moszkowicz" , 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/msg00113.txt.bz2 =20 > -----Original Message----- > From: gdb-owner@sourceware.org=20 > [mailto:gdb-owner@sourceware.org] On Behalf Of Uri Moszkowicz > Sent: Friday, February 13, 2009 4:01 PM > To: gdb@sourceware.org > Subject: Trouble with GDB/MI output >=20 > Hi guys, > I sent an email yesterday but it doesn't appear to have made it to the > list so if you are getting it twice I apologize. Anyway, I'm having > trouble with GDB/mi and hope that you can help. I'm using the CPAN > module Devel::GDB to control GDB through the GDB/mi interface and I > can't get the output of my program to end up in a file merged with the > GDB output. I can get them to go to separate files or to my screen. > The funny thing is the program output seems to go straight to my > terminal, making redirection useless. I get this warning: >=20 > &"warning: GDB: Failed to set controlling terminal: Operation=20 > not permitted\n" >=20 > Any idea what's going on? Have you tried the MI command -inferior-tty-set /dev/pts/ this is how I get to choose where my program prints. Marc