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

Hi Marc,
Yes I have but it doesn't make a difference - the output still goes to
my terminal and not to the file where GDB output is going.

Thanks,
Uri

On Fri, Feb 13, 2009 at 4:05 PM, Marc Khouzam <marc.khouzam@ericsson.com> wrote:
>
>
>> -----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:13 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
2009-02-13 21:13     ` Uri Moszkowicz [this message]
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=f32f8f30902131313p73624e4draa2e5261e29535fd@mail.gmail.com \
    --to=uri@4refs.com \
    --cc=gdb@sourceware.org \
    --cc=marc.khouzam@ericsson.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