Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Marc Khouzam" <marc.khouzam@ericsson.com>
To: "Uri Moszkowicz" <uri@4refs.com>, <gdb@sourceware.org>
Subject: RE: Trouble with GDB/MI output
Date: Fri, 13 Feb 2009 21:05:00 -0000	[thread overview]
Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA06EEF4A9@ecamlmw720.eamcs.ericsson.se> (raw)
In-Reply-To: <f32f8f30902131301m388c8205sb7a900f9c75c3790@mail.gmail.com>

 

> -----Original Message-----
> From: gdb-owner@sourceware.org 
> [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
> 
> 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:
> 
> &"warning: GDB: Failed to set controlling terminal: Operation 
> not permitted\n"
> 
> Any idea what's going on?


Have you tried the MI command
-inferior-tty-set /dev/pts/<somenumber>
this is how I get to choose where my program prints.

Marc


  reply	other threads:[~2009-02-13 21:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <f32f8f30902121303t2ad069c6v98728041f57e607b@mail.gmail.com>
2009-02-13 21:01 ` Uri Moszkowicz
2009-02-13 21:05   ` Marc Khouzam [this message]
2009-02-13 21:13     ` Uri Moszkowicz
2009-02-14  9:03   ` Vladimir Prus
2009-02-14 20:32   ` Nick Roberts
2009-02-19 22:07     ` Uri Moszkowicz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6D19CA8D71C89C43A057926FE0D4ADAA06EEF4A9@ecamlmw720.eamcs.ericsson.se \
    --to=marc.khouzam@ericsson.com \
    --cc=gdb@sourceware.org \
    --cc=uri@4refs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox