From: Daniel Jacobowitz <drow@mvista.com>
To: chanskw@ca.ibm.com
Cc: gdb@sources.redhat.com
Subject: Re: Target Output Streaming in MI
Date: Thu, 02 May 2002 14:19:00 -0000 [thread overview]
Message-ID: <20020502211946.GA25969@nevyn.them.org> (raw)
In-Reply-To: <OF91E304B9.CE34D0F7-ON85256BAD.00739706@torolab.ibm.com>
On Thu, May 02, 2002 at 05:10:56PM -0400, chanskw@ca.ibm.com wrote:
> Hi,
>
> As we are doing more investigation with MI, we having another question
> regarding output streaming in MI. As described in GDB manual:
>
> `"@" STRING-OUTPUT'
> The target output stream contains any textual output from the
> running target.
>
> Some of the examples in the manual show that program's output should be
> prefixed with '@'. However, we have never seen program output prefixed
> with '@'. After doing more experiments and looking into GDB source code,
> we found that program output will only be prefixed with '@' during remote
> debugging. Is this really the case?
Essentially, yes. There's a known failure in mi-console.exp
corresponding to this; it requires that GDB manage pseudoterminals for
the inferior process, and we don't do that (nor have we really decided
that it is a good idea; I at least have doubts...).
IMVHO, the best thing to do for native would be to have MI traffic on a
separate file descriptor than the inferior's stdin/out/err.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-05-02 21:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-02 14:11 chanskw
2002-05-02 14:19 ` Daniel Jacobowitz [this message]
2002-05-02 20:43 ` Brian Thomson
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=20020502211946.GA25969@nevyn.them.org \
--to=drow@mvista.com \
--cc=chanskw@ca.ibm.com \
--cc=gdb@sources.redhat.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