From: Thiago Jung Bauermann <bauerman@br.ibm.com>
To: Oguz Kayral <oguzkayral@gmail.com>
Cc: gdb ml <gdb@sourceware.org>
Subject: Re: Support pipes in the run command.
Date: Thu, 05 Mar 2009 17:32:00 -0000 [thread overview]
Message-ID: <1236274335.28372.30.camel@localhost.localdomain> (raw)
In-Reply-To: <36a35d480903050859i2b6c6391xc8cff4ee6f2645f3@mail.gmail.com>
El jue, 05-03-2009 a las 18:59 +0200, Oguz Kayral escribió:
> >> Thiago > 3. Support pipes in the run command (this may be too small for a GSoC);
> >>
> >> I'm planning to spend some nights on this before GSoC starts.
>
> > Nice. Let me know if you need help. I think you won't have to mess with
> > ugly parts of GDB internals, so it's a good feature to start.
>
> Tom Tromey told me that redirecting output was already implemented in
> gdb. So what were you meaning in this e-mail?
We do have redirection, but not pipe support, i.e., having output come
from another command, not a file. But perhaps what he means is that
since we have redirection, lack of pipe support can be worked around by
redirecting the output of the first command in the pipe to a file, and
then debug your program reading from that file.
Still, IMHO it's better to directly support this use case. I've seen
people ask about it in #gdb.
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center
next parent reply other threads:[~2009-03-05 17:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <36a35d480903050859i2b6c6391xc8cff4ee6f2645f3@mail.gmail.com>
2009-03-05 17:32 ` Thiago Jung Bauermann [this message]
2009-03-05 20:16 ` Tom Tromey
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=1236274335.28372.30.camel@localhost.localdomain \
--to=bauerman@br.ibm.com \
--cc=gdb@sourceware.org \
--cc=oguzkayral@gmail.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