Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: Daniel Jacobowitz <drow@false.org>
Cc: Denis PILAT <denis.pilat@st.com>, gdb-patches@sources.redhat.com
Subject: Re: [PATCH] Target stderr not displayed thru MI
Date: Thu, 01 Dec 2005 22:49:00 -0000	[thread overview]
Message-ID: <17295.22919.290876.649298@kahikatea.snap.net.nz> (raw)
In-Reply-To: <20051201143218.GB13069@nevyn.them.org>

 > Nick, what's your reasoning for separating this from the stdout data?
 > When we put the inferior onto its own TTY, we don't get stdout and
 > stderr separated, either.

I was just trying to interpret what Denis said:

DP> The main problem with MI is that we can not distinguish target stdout 
DP> from target stderr.

I don't see any harm as, in the remote case, it presumably just prepends parts
of a single stream with a different character.  This would be easy to merge
back if it wasn't needed.

More recently, he has said that one stream is enough for his purposes:

DP> I'm not sticked to have one more MI stream today since nobody
DP> will use it efficiently, I just need to have at least target error
DP> reported to a stream, even if it's the only mi stream available (mi->targ).

Since no-one else appears to need another MI stream, or possibly even use MI
for remote debugging, if we accept that adding a stream later may present
compatibility problems, his original patch seems appropriate.

Nick


  parent reply	other threads:[~2005-12-01 20:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-30 14:15 Nick Roberts
2005-11-30 18:57 ` [PATCH] " Denis PILAT
2005-11-30 19:03   ` Bob Rossi
2005-11-30 19:55     ` Daniel Jacobowitz
     [not found]   ` <17294.2894.345752.773239@kahikatea.snap.net.nz>
2005-12-01 13:57     ` Denis PILAT
2005-12-01 14:06       ` Bob Rossi
2005-12-01 14:32         ` Daniel Jacobowitz
2005-12-01 16:20           ` Denis PILAT
2005-12-01 22:49           ` Nick Roberts [this message]
2005-12-02  1:26             ` Jim Blandy
2005-12-05 20:50             ` Denis PILAT
2005-12-06  6:09               ` Nick Roberts
2005-12-06 10:49                 ` Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2005-11-30  2:47 Denis PILAT
2005-11-30 13:51 ` Jim Blandy

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=17295.22919.290876.649298@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=denis.pilat@st.com \
    --cc=drow@false.org \
    --cc=gdb-patches@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